943,833 Members | Top Members by Rank

Ad:
  • Ruby Discussion Thread
  • Unsolved
  • Views: 14582
  • Ruby RSS
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Nov 5th, 2005
0

Re: Anyone want to learn Ruby

Yes, I'll add a few words on RUBY. I saw it referenced a while ago along with hundreds of others. (So much creativity, so little time to learn.)

Recently, it was compared in Infoworld magazine against others for quick AJAX development frameworks and billed as Ruby on Rails. Since the competition was a hundred a seat all the way up to $50,000 to start while Ruby is Open Source, it was a simple choice.

I googled a fabulous tutorial by Chris Pine (as an author, he's smart and doesn't wear your eyes out). It is here: http://pine.fm/LearnToProgram/?Chapter=Contents

RUBY appears to have some incredibly strong structural advantages. It is clearly the product of someone with lots of other language experience. I hate language authors who use crazy new conventions like C++'s COUT and CIN. In Assembler, for example, all operands are right to left, except one and that one makes sense to be left to right. If you know Assembler, you know which one I mean. I thought I'd be settling in with Eiffel but after MS gave them the .NET imprimateur, they jacked their language to $5,000 a seat. Too rich for my blood!

A language needs predictability, which shortens the learning curve and increases the success to mistake ratio. Ruby accomplishes that with simple consistent structure and does it without all of the extra syntax parsing characters that many lazy compiler writers require.

AND did I mention it is Open Source?

If that isn't enough, it appears to be a pure OOL. I had to look up a lot of interesting terms (WIKIPEDIA RULES!) to develop a clear understanding of an OOL construct beyond the current C++ debacle. It was well worth it to find out why "Matz" chose single inheritance instead of multiple but allowed so much other power, e.g. blocks and procs can be passed through methods... WOWWWWW!!!

When I finished Chris's tutorial I had the same "Oh boy, here we go feeling." that I had in 1984 when I finished K&R's book on C. Now look where C is. Every Processor, every platform, most languages, most embedded code and most heavy duty apps. Yikes. Imagine the power of C if K&R had envisioned encapsulation. C++ would have never been born.

So how about it? Is Daniweb ready for Ruby?
Reputation Points: 11
Solved Threads: 3
Banned
tom curren is offline Offline
51 posts
since Oct 2005
Nov 6th, 2005
0

Re: Anyone want to learn Ruby

Hi!

Quote originally posted by Dark_Omen ...
I know this is from awhile back, but you can use print in ruby and it does the same thing as puts.
Nor really . Try this
Ruby Syntax (Toggle Plain Text)
  1. print "not"
  2. puts "the"
  3. p "same"

Regards, mawe
Reputation Points: 19
Solved Threads: 58
Junior Poster
mawe is offline Offline
133 posts
since Sep 2005
Nov 8th, 2005
0

Re: Anyone want to learn Ruby

Along comes Boo, looks like Python and Ruby rolled into one, and you can compile it to an executable file, or use it in the shell.

http://boo.codehaus.org/
Moderator
Reputation Points: 1333
Solved Threads: 1403
DaniWeb's Hypocrite
vegaseat is offline Offline
5,792 posts
since Oct 2004
Nov 14th, 2005
0

Re: Anyone want to learn Ruby

Will give a try, thanks for the website.
Reputation Points: 12
Solved Threads: 4
Junior Poster
reezin14 is offline Offline
107 posts
since Jan 2005
Nov 19th, 2005
0

Re: Anyone want to learn Ruby

Went to the Boo code snipet here on this site. Downloaded BOO from recomended site and a nice editor/IDE called Boodle (hehe). The snipet works well and seems fun.
Reputation Points: 404
Solved Threads: 180
Nearly a Posting Virtuoso
bumsfeld is offline Offline
1,422 posts
since Jul 2005
Jan 15th, 2007
0

Re: Anyone want to learn Ruby

yes i want to learn ruby,and i am able to create some from also,but i dont know the database connectivity with MySql can anyone help me to connect my apllication to dtabase...plzz
Reputation Points: 10
Solved Threads: 0
Light Poster
amithasija is offline Offline
44 posts
since Nov 2006
Jan 15th, 2007
0

Re: Anyone want to learn Ruby

can anybody tell me how to connect to mysql with my application ,i am ne wto ruby on rails,plzz
Reputation Points: 10
Solved Threads: 0
Light Poster
amithasija is offline Offline
44 posts
since Nov 2006
Jan 15th, 2007
0

Re: Anyone want to learn Ruby

>>i am ne wto ruby on rails,plzz

what in the world does that mean :eek: :eek: Looks like half English and half Gibberish.
Last edited by Ancient Dragon; Jan 15th, 2007 at 7:18 am.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is online now Online
21,951 posts
since Aug 2005
Jan 19th, 2007
0

Re: Anyone want to learn Ruby

>>i am ne wto ruby on rails,plzz

what in the world does that mean :eek: :eek: Looks like half English and half Gibberish.
converted
Quote ...
i am new to ruby on rails, please
Featured Poster
Reputation Points: 1536
Solved Threads: 431
Posting Expert
iamthwee is offline Offline
5,865 posts
since Aug 2005
Feb 8th, 2007
-7

Re: Anyone want to learn Ruby

Let's stop this right here guys, please.
Administrator
Staff Writer
Reputation Points: 1418
Solved Threads: 37
Freelance Word Punk
happygeek is offline Offline
5,569 posts
since Mar 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Ruby Forum Timeline: Problems running Jruby with Glimmer
Next Thread in Ruby Forum Timeline: Posting formdata onto webpage and into file





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC