3 ms·
I know that you are asking why Python might be better for some uses, so pardon a little tangent: About 7 years ago I tried really hard to get into Python becau
by mark_l_watson 15y ago
I know that you are asking why Python might be better for some uses, so pardon a little tangent:
About 7 years ago I tried really hard to get into Python because someone I know at Google really liked the language, and I needed to pick up a better scripting language (I dislike Perl). I used Python a lot for about a year, reading a few books, using it for a lot of small projects. Python was nice!
Then I started looking at Ruby, and for me it was programming language love at first sight. I can not justify my strong preference for Ruby on technical grounds, rather I simply prefer it. Ruby is no longer just a scripting language for me (although I write a lot of 20 line Ruby programs just to get stuff done).
So, I would argue that you should choose either Python or Ruby based on your personal gut feel, after spending time with both languages. The only exception to this advice is if you want to work for a company that prefers one over the other.