943,585 Members | Top Members by Rank

Ad:
  • Ruby Discussion Thread
  • Unsolved
  • Views: 14582
  • Ruby RSS
You are currently viewing page 1 of this multi-page discussion thread
Jan 29th, 2005
0

Anyone want to learn Ruby

Expand Post »
Hello everyone,

I just started to learn how to program in Ruby. It is a pretty cool language. You can get ruby from www.ruby-lang.org. You can see my code snippets on making widgets using fxRuby (fxRuby is downloaded seperatly from ruby, unless you get the one click installer, which installs everything). But first here is a hello world program written in Ruby:

Hello, World.rb
Ruby Syntax (Toggle Plain Text)
  1.  
  2. puts "Hello, World! I am writing in the Ruby programming language"
Similar Threads
Reputation Points: 23
Solved Threads: 6
Posting Pro
Dark_Omen is offline Offline
573 posts
since Apr 2004
Feb 9th, 2005
0

Re: Anyone want to learn Ruby

Pure genius Dark!

Here is the same in Python ...
Ruby Syntax (Toggle Plain Text)
  1. print "Hello, World! I am writing in the Python programming language"
How are your C# efforts coming along?
Moderator
Reputation Points: 1333
Solved Threads: 1403
DaniWeb's Hypocrite
vegaseat is offline Offline
5,792 posts
since Oct 2004
Feb 12th, 2005
0

Re: Anyone want to learn Ruby

I think I am going to learn python too, I have notice that a lot of people use it.
Reputation Points: 23
Solved Threads: 6
Posting Pro
Dark_Omen is offline Offline
573 posts
since Apr 2004
Feb 25th, 2005
0

Re: Anyone want to learn Ruby

I found a good tutorial for ruby at http://www.math.umd.edu/~dcarrera/ruby/0.3/index.html.

Also c# is going pretty good, I got this app dev program on cd that teaches it. It is pretty good language very similar to c++.
Reputation Points: 23
Solved Threads: 6
Posting Pro
Dark_Omen is offline Offline
573 posts
since Apr 2004
Feb 26th, 2005
0

Re: Anyone want to learn Ruby

Hi Dark,

beats watching the stupefying TV. Thanks for the Ruby site. Here is an excellent site called the C# school:
http://www.programmersheaven.com/2/Les_CSharp_0

They go really into the fundamentals.
Moderator
Reputation Points: 1333
Solved Threads: 1403
DaniWeb's Hypocrite
vegaseat is offline Offline
5,792 posts
since Oct 2004
Feb 26th, 2005
0

Re: Anyone want to learn Ruby

thanks vegaseat
Reputation Points: 23
Solved Threads: 6
Posting Pro
Dark_Omen is offline Offline
573 posts
since Apr 2004
Mar 22nd, 2005
0

Re: Anyone want to learn Ruby

Yeah, I wanna learn Ruby and I've started a self-tutorial on it on my blog, using the Sams Teach Yourself In 21 Days book and blogging out a post every day of the three weeks:

http://alabut.com/nonsense/2005/03/l...n-3-weeks.html

I'm starting this Sunday, March 22, 2005, but the beauty of the blogosphere is that all the posts will be up forever for anyone else interested. It's building quite a bit of steam and I'm hoping this will be a great resource for anyone that wants to jump into this pool too.

Al Abut
- - -
http://alabut.com
- - -
Reputation Points: 10
Solved Threads: 0
Newbie Poster
alabut is offline Offline
2 posts
since Mar 2005
Mar 28th, 2005
0

Re: Anyone want to learn Ruby

Quote originally posted by vegaseat ...
Here is the same in Python ...

Code:
print "Hello, World! I am writing in the Python programming language"

I know this is from awhile back, but you can use print in ruby and it does the same thing as puts.
Reputation Points: 23
Solved Threads: 6
Posting Pro
Dark_Omen is offline Offline
573 posts
since Apr 2004
Sep 26th, 2005
0

Re: Anyone want to learn Ruby

Seems like a nice laguage. I`m going to try it :p
Reputation Points: 10
Solved Threads: 0
Light Poster
iwonder is offline Offline
37 posts
since Feb 2005
Sep 28th, 2005
0

Re: Anyone want to learn Ruby

Quote originally posted by vegaseat ...
Pure genius Dark!

Here is the same in Python ...
Ruby Syntax (Toggle Plain Text)
  1. print "Hello, World! I am writing in the Python programming language"
How are your C# efforts coming along?
Lies! You replaced the word Ruby with Python!
Team Colleague
Reputation Points: 1133
Solved Threads: 171
Super Senior Demiposter
Rashakil Fol is offline Offline
2,478 posts
since Jun 2005

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