Programming Forums
User Name Password Register
 

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

Reply
 
Thread Tools Display Modes
Old Jul 20th, 2008, 6:04 AM   #1
JD-Salinger
Unknown
 
JD-Salinger's Avatar
 
Join Date: Apr 2008
Location: unknown
Posts: 79
Rep Power: 1 JD-Salinger is on a distinguished road
python vs ruby?

im having trouble of choosing a language to learn, ruby or python? in what way python is ahead of ruby?, ive been hearing good stuff about python about its clear and readable syntax and ive read that ruby has good and readable syntax too, does anyone of you here touched ruby and python? which of the two do you prefer to newbies? which is more productive? in what areas of computer technology(web,gaming,app development) is more productive?
__________________
-------------------------------------------------------------------------
I thought what I'd Do was, I'd pretend to be one of those deaf mutes
------------------------------------------------------------------------
JD-Salinger is online now   Reply With Quote
Old Jul 20th, 2008, 8:26 AM   #2
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
Re: python vs ruby?

Your post is extremely vague and because of it an accurate answer can't be determined (at least not by my brain) - productivity especially is not only a function of the language, but the ecosystem surrounding it (this includes things like libraries and tools.) Because of this, 'productivity' is so highly variable that speaking of it is pretty meaningless in this context. Python might have a better graphics library available. Perhaps ruby has better web frameworks available. These determine how productive you will be with the language and the tools you're given - just asking 'which is more productive' does not give us an adequate picture of the whole, and any assessment on which is more productive without taking things like the task at hand, your working environment as well as ecosystem into account is, in my opinion, going to be worthless and probably just nonsensical.

You can always generalize, of course, but that's to be taken with a grain of salt (moreso than the people making the generalizations probably want you to take.)

To be quite honest, your question isn't easily answered and will be swarmed with opinions of all different caliber. If you want an answer that actually matters to you, then you need to go try python, and try ruby and figure out which one you like. Learn them both, look at the tools, the libraries and the community, and make an educated judgment based on that. We can't choose the food you'd like to eat, either.
__________________
os: mac os 10.5.4
revision control: git
editor: emacs

site

Last edited by Mad_guy; Jul 20th, 2008 at 8:39 AM.
Mad_guy is offline   Reply With Quote
Old Jul 20th, 2008, 1:06 PM   #3
JD-Salinger
Unknown
 
JD-Salinger's Avatar
 
Join Date: Apr 2008
Location: unknown
Posts: 79
Rep Power: 1 JD-Salinger is on a distinguished road
Re: python vs ruby?

thanks.... so python has a better graphics library and ruby has better framework in web development... how about in application development? does ruby excel in making gui apps?
__________________
-------------------------------------------------------------------------
I thought what I'd Do was, I'd pretend to be one of those deaf mutes
------------------------------------------------------------------------
JD-Salinger is online now   Reply With Quote
Old Jul 20th, 2008, 6:46 PM   #4
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 998
Rep Power: 4 lectricpharaoh will become famous soon enough
Re: python vs ruby?

Quote:
Originally Posted by JD-Salinger
thanks.... so python has a better graphics library and ruby has better framework in web development... how about in application development? does ruby excel in making gui apps?
He was using those as examples of what might be the case, not what necessarily is.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote
Old Jul 21st, 2008, 6:03 AM   #5
L7Sqr
Hobbyist Programmer
 
Join Date: Jun 2005
Location: here
Posts: 116
Rep Power: 0 L7Sqr is an unknown quantity at this point
Re: python vs ruby?

Quote:
Originally Posted by JD-Salinger View Post
does ruby excel in making gui apps?
You are asking the wrong questions. Ruby/Python/C/Assembly dont excel in anything. They just are. Some things are easier done with one than another. However, if you are more comfortable with C and have yet to learn Python/Ruby, then C would be the better choice.
The point is that you are the one who will need to excel at anything. Languages are tools. In general, it is helpful to have a full toolbox.
My advice; learn as many languages as you can and use the ones you find to work the best.
__________________
"...and though our kids are blessed their parents let them shoulder all the blame."
- The Quiet Things That No One Ever Knows [BrandNew]
L7Sqr is offline   Reply With Quote
Old Jul 21st, 2008, 6:17 AM   #6
JD-Salinger
Unknown
 
JD-Salinger's Avatar
 
Join Date: Apr 2008
Location: unknown
Posts: 79
Rep Power: 1 JD-Salinger is on a distinguished road
Re: python vs ruby?

what im saying is in relation with each other. does ruby excel in python in making gui apps?.
__________________
-------------------------------------------------------------------------
I thought what I'd Do was, I'd pretend to be one of those deaf mutes
------------------------------------------------------------------------
JD-Salinger is online now   Reply With Quote
Old Jul 21st, 2008, 8:08 AM   #7
MiKuS
Programmer
 
Join Date: Jun 2007
Posts: 99
Rep Power: 2 MiKuS is on a distinguished road
Re: python vs ruby?

for general support i believe python has a larger user base, mailing list's and such. you'll find a few resident python coders at these forums. i don't see any activity about ruby in general on these forums.

the general support for python as mentioned means lots of existing code, there are a few frameworks for making front ends for and games and such so i'd say it is the logical choice.

python!
MiKuS is offline   Reply With Quote
Old Jul 21st, 2008, 8:44 AM   #8
big_k105
PFO Founder

 
big_k105's Avatar
 
Join Date: Mar 2004
Location: Fargo, ND
Posts: 1,628
Rep Power: 10 big_k105 is on a distinguished road
Send a message via AIM to big_k105 Send a message via MSN to big_k105 Send a message via Yahoo to big_k105
Re: python vs ruby?

Python has been around a little longer then Ruby, but only by like 4 years. I believe that Python has come the larger user base but Ruby is growing pretty good these days because of the Ruby on Rails web framework. I have looked into both languages, but haven't spent much time learning either of them. From the little I have read about each Python does have more libraries available, but I think Ruby might be starting to catch up. Like I said I don't have much experience with either. I have written some really basic scripts and web sites with Python, and have written some really basic web sites using Ruby on Rails. I haven't done anything outside of web development with Ruby as of this point. Just haven't had the need for either language really.

As for which would be better for a beginner I would probably recommend Python but only because it has the larger user base. If you look at the syntax of both languages they are very similar so from that stand point they are a lot a like. I don't know what your goals are for the language you choose but that could help you decide which one to start with.
__________________
BIG K aka Kyle
Programming Forums
Kyle K Online

Please do not PM or email me programming questions. Post them in the forums instead.
big_k105 is offline   Reply With Quote
Old Jul 21st, 2008, 11:29 AM   #9
L7Sqr
Hobbyist Programmer
 
Join Date: Jun 2005
Location: here
Posts: 116
Rep Power: 0 L7Sqr is an unknown quantity at this point
Re: python vs ruby?

Quote:
Originally Posted by JD-Salinger View Post
what im saying is in relation with each other. does ruby excel in python in making gui apps?.
I understand what you are saying. You are missing the point.
If Python has the best GUI toolkit and library base but you dont undertand (or cant use) the tools then they are useless to you.
You have to learn each and make that decision yourself. I might claim that Ruby has the best syntax/support/whatever and my friend might claim the exact opposite. Where does that leave you?
The advice you have received is good. You should take that and do some of your own investigation.
__________________
"...and though our kids are blessed their parents let them shoulder all the blame."
- The Quiet Things That No One Ever Knows [BrandNew]
L7Sqr is offline   Reply With Quote
Old Jul 21st, 2008, 10:25 PM   #10
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Re: python vs ruby?

My opinion on the matter is in favor of Python, but that is only because Ruby is still relatively new to me.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ruby or Python? titaniumdecoy Other Scripting Languages 2 May 30th, 2006 12:51 AM
Python v.s. Ruby Jessehk Coder's Corner Lounge 11 Mar 16th, 2006 11:49 AM
[tutorial] Python for programming beginners coldDeath Python 30 Dec 14th, 2005 11:35 AM
Advanced Python Tricks Arevos Python 19 Sep 24th, 2005 7:39 AM
Python - A Programmers Introduction coldDeath Python 17 Aug 19th, 2005 12:41 PM




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

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