Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 3rd, 2006, 8:32 PM   #1
Harakim
Hobbyist Programmer
 
Join Date: May 2006
Location: West Jordan, Utah, United States
Posts: 176
Rep Power: 3 Harakim is on a distinguished road
Why Ruby?

I've been looking all over the internet and I can't understand why I would want to use Ruby? What is it's best use? I imagine it's probably not the language you would pick for a visual rendering system. I want to use Ruby if I can find good uses for it.
Harakim is offline   Reply With Quote
Old Jun 3rd, 2006, 8:52 PM   #2
megamind5005
Programmer
 
megamind5005's Avatar
 
Join Date: Dec 2004
Location: UK
Posts: 53
Rep Power: 4 megamind5005 is on a distinguished road
Whenever in doubt, I consult www.wikipedia.com. Personally, I know that it's a great starter language, but also a very good one, some similarities with python i.e. interpreted, scripting language. In fact, before I did start with Python, I had to make a decision between it and Ruby. I went for Python, mainly cos of the bigger user base.
__________________
Tetris is so unrealistic
megamind5005 is offline   Reply With Quote
Old Jun 3rd, 2006, 9:18 PM   #3
Mad_guy
Hobbyist Programmer
 
Mad_guy's Avatar
 
Join Date: Oct 2004
Location: Sandstorm, Techno Club
Posts: 239
Rep Power: 4 Mad_guy is on a distinguished road
Send a message via AIM to Mad_guy Send a message via MSN to Mad_guy
Ruby on Rails

!
__________________
os: mac os 10.5.4
revision control: git
editor: emacs

site
Mad_guy is offline   Reply With Quote
Old Jun 3rd, 2006, 11:44 PM   #4
Master
Programmer
 
Master's Avatar
 
Join Date: Sep 2005
Location: GA
Posts: 99
Rep Power: 4 Master is on a distinguished road
Rudl/ruby
Master is offline   Reply With Quote
Old Jun 4th, 2006, 3:46 AM   #5
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
Quote:
Originally Posted by Harakim
I've been looking all over the internet and I can't understand why I would want to use Ruby? What is it's best use? I imagine it's probably not the language you would pick for a visual rendering system. I want to use Ruby if I can find good uses for it.
Ruby is a language with some very advanced features. For a skilled programmer, this can make it very fast to program. However, in terms of running time it's rather inefficient.

Ruby is best used on high-level systems that don't need lots of CPU, such as a web application.
Arevos is offline   Reply With Quote
Old Jun 4th, 2006, 4:06 AM   #6
Harakim
Hobbyist Programmer
 
Join Date: May 2006
Location: West Jordan, Utah, United States
Posts: 176
Rep Power: 3 Harakim is on a distinguished road
Thanks for the responses. I'll keep this in mind in case I have any applications for it. Should I start with Ruby or just jump straight into Ruby on Rails.
Harakim is offline   Reply With Quote
Old Jun 4th, 2006, 10:25 AM   #7
capiCrimm
Newbie
 
Join Date: May 2006
Posts: 5
Rep Power: 0 capiCrimm is on a distinguished road
Quote:
Thanks for the responses. I'll keep this in mind in case I have any applications for it. Should I start with Ruby or just jump straight into Ruby on Rails.
If you read _Why's that should be enough. It's pretty hard to learn RoR withouth knowing a bit of ruby. I'm sure it's possible, but you'll be able to get a lot more out of it with a tad bit of ruby knowledge. However, don't worry about mastering the language. You could also try the pickaxe(programming ruby, the pragmatic programmers guide) if you have previous programming experience or if you want a little more formal tutorial than _why gives.

Oh, and you might want to look into Nitro, the alternative to RoR. Personally I like the freedom it gives a bit more. It's still in beta and isn't as feature or tutorial rich as RoR, but I think it has a lot of perks.
capiCrimm is offline   Reply With Quote
Old Jun 5th, 2006, 2:09 AM   #8
Adak
Hobby Coder
 
Join Date: May 2006
Posts: 57
Rep Power: 0 Adak is an unknown quantity at this point
What I really like about Ruby is the thoughtfulness of the design. Very "clean", and consistent. It's OOP the way OOP was meant to be done, imo.

Also, I'd be amiss not to mention the wonderful writing that went into "The Pragmatic Programmer's Guide".

With that in your sights, you feel like you could trip, fall, and break your toe, but learn something about Ruby on the way down!

Adak
Adak is offline   Reply With Quote
Old Jun 22nd, 2006, 11:12 AM   #9
Silvanus
Hobbyist Programmer
 
Silvanus's Avatar
 
Join Date: Aug 2005
Location: Hiding from... them...
Posts: 110
Rep Power: 4 Silvanus is on a distinguished road
One would use Ruby in the kind of situation where one would use Perl or Python- it's a very high-level but inefficient language. This kind of language is generally referred to as a "scripting" language, although I would be hesitant to refer ro something as complex as RoR as a collection of "scripts."
__________________
:wq
Silvanus is offline   Reply With Quote
Old Jun 22nd, 2006, 9:38 PM   #10
Jessehk
The Oblivious One
 
Jessehk's Avatar
 
Join Date: May 2005
Location: Ontario, Canada
Posts: 644
Rep Power: 4 Jessehk is on a distinguished road
Quote:
Originally Posted by Adak
What I really like about Ruby is the thoughtfulness of the design. Very "clean", and consistent. It's OOP the way OOP was meant to be done, imo.
I think that is also the reason I love Ruby. Everything is consistent. Classes and constants are capitalized with camel-case. Variable names and methods use lowercase and underscores. Everything works as expected. I know I'm just repeating what other people have said here, but usually I can guess the correct way to do something new.

I cannot say the same of Python.
Naming conventions vary, there are obscure additions like method = classmethod(method), and seperate parts of the language act and feel very very different; almost as if a bunch of unrelated parts were bundled together.
__________________
Dr. Zoidberg: [ecstatic] I'm going to a movie... with FRIENDS!
Jessehk is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:50 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC