Everyone seems to love Ruby. But does it lend itself to web development, and is it "polished" enough to be used as one's primary language?
It seems that every time I see someone mention
Ruby or the web framework written around it,
Ruby On Rails, people convulsively
gush with
admiration for the language. I don't think I've ever heard a single negative comment about it.
Obviously, this epidemic infatuation has piqued my interest, so I've been reading about the language. It
does look pretty powerful and easy to use, but I haven't been able to determine whether it's well suited to web development, and whether it is "polished" enough to replace PHP as my primary language. My website, currently written in PHP/MySQL, is fairly extensive, and it would not be a trivial task to port everything to Ruby, not to mention having to give up the familiarity I've attained with PHP and start getting comfortable with a new language.
However, I'm currently in the process of rewriting my site with a more object-oriented approach, and I'm finding myself frustrated with PHP's unwieldiness in that area. PHP5's OO is much better than previous versions, but I'm still frustrated by its limitations. So Ruby is obviously appealing, and I'm tempted to switch to it. But is it developed enough to be worth the commitment? Is it stable enough, fast enough, does it have enough support libraries available, etc? Or is it merely a curiosity, a fun language to play with, but not ready for 'prime time' yet? Do any of you code in Ruby as your primary language?
posted by grouse at 4:02 AM on June 16, 2005