>syntax did feel like a hybrid of Python and Perl (with a bit of crack mixed in)
My personal feeling is that it's mostly Smalltalk and Perl, and less Python, though technically wikipedia says it inherits from Python as well. I've coded Perl and Smalltalk though, but not ever really Python. Maybe if you look at it that way there's less crack mixed in.
Re:Can anyone explain why Ruby is so popular?
by rman666 on Tuesday May 28, 2013 @10:22PM
(#5784198)
Why do you say Python is applicable to so much more than Ruby? I don't see how this can possibly be true since they are both powerful scripting languages.
Re:Can anyone explain why Ruby is so popular?
by lost-theory on Tuesday May 28, 2013 @10:46PM
(#5784274)
They are both powerful scripting languages, but I think the ruby community suffers from a monoculture around rails & web development. Python also has a strong emphasis on web development (django, flask, pyramid), but there are also large communities of people doing scientific / numeric computing (scipy, numpy), bioinformatics (biopython), games (pygame, pyglet), networking (twisted), education (MIT's 6.00 course), embedded stuff / robotics, etc.
It depends on your field, I guess. Scientific computing for example uses a lot of Python. Ditto for the geospatial field where both the proprietary packages and the open source ones use Python. Sometimes, it's not the language's power that matters but the field of application and the existing libraries and community.
Python is much more complete when it comes to math and science.
Re:Can anyone explain why Ruby is so popular?
by jgoldschrafe on Tuesday May 28, 2013 @11:33PM
(#5784426)
Rails is a big part of Ruby's popularity, but let's not forget the impact of Chef and Puppet as well.
That said, I agree that the syntax did feel like a hybrid of Python and Perl (with a bit of crack mixed in) - but once I started playing around with it, I really started to appreciate the syntax.