4 ms·
Unless you've really got a Ruby fetish, there's just not much of a reason to use it. If you want a similar language with similar productivity, Python gives you
by AF 19y ago
Unless you've really got a Ruby fetish, there's just not much of a reason to use it.
If you want a similar language with similar productivity, Python gives you that and speed, Unicode support at the language level, and lots of libraries.
And in web frameworks alone you've got Django, Pylons, Turbogears, web.py, etc. Django has the community and 'push' that Rails does in the Ruby world, and Pylons feels a lot like Rails. So what are you waiting for? Checking them out can't hurt anything.
- jamesbritt 19y agoI tried Python; didn't care for it. Something just didn't click. Later on I tried Ruby, and it was a better fit for my head. There are differences in the underlying design principles of Ruby and Python, and they can make a big difference in how well you internalize the language. I also took a look at Django, and it struck me as astonishingly clunky compared to Rails and Nitro. There are issues of aesthetics at play; I can't argue that my taste is right or wrong, but it certainly matters that I use a tool that aligns with it.
- keiretsu 19y agoyeah. i agree. tried python. the language is really ugly compared to ruby. django just doesn't fit into my brain like RoR does.
- far33d 19y agoI think that once you get past the whitespace dependence, python is an incredibly elegant language. No strange variable prefixes, functions as primary data, readable syntax, etc etc. And, if you come from the land of C/Java/C++, it has quicker transition than ruby (IMHO)
- jmcantrell 19y ago"I also took a look at Django, and it struck me as astonishingly clunky compared to Rails and Nitro" hahahahahahaha...
- AF 19y agoI've used both. I actually think that Ruby is a nicer language in most respects than Python (except for way too many ways of expressing the same thing in syntax), but Python is a much better 'platform'. Python struck me as somewhat clunky at first, but after working in it for a few months, I didn't really have any issues with the language. I think there will always be initial resistance for anyone using a different language, but I don't think your mind is necessarily set to where one language will fit it and one won't. Imperative programmers moving over to functional languages will find that functional languages don't "fit their mind", but given enough work in one will probably find that their mind changes to where functional aspects make perfect sense. So I think that's the case with Python. Some people won't find it clunky at all, for those that do, working in it for some time will probably lead to their mind fitting the language better. Personally I'd rather do that than deal with the issues Ruby the platform has. Anyway, Ruby and Python are a lot more alike than different.
- gyro_robo 19y agoThat's fair enough -- if a language doesn't fit your aesthetic, it's quite a valid reason to use something else.