By Thierry.Lefort
via blog.taragana.com
Published: Aug 21 2008 / 16:22
I tried delving into Ruby couple of times in the past. Every time I had this weird feeling of what am I doing here when I am already very well conversant with a simpler language - Java, which gives me everything I need.
Comments
dougal replied ago:
I wouldn't vote for Java either... but Ruby isn't for me.
stugots replied ago:
I would not defend either Java or Ruby on language syntax grounds, but, this is a dud.
comctrl6 replied ago:
Here's a little perspective:
Try printing out the system properties in alphabetical order.
In Java:
In JRuby:
,
,
daniel replied ago:
If you use generics properly, your Java version will be significantly less verbose:
I'll grant that it's still much more verbose than Ruby, but I don't think anyone would claim that Java is a concise language. :-)
www.johnmunsch.com replied ago:
The millionth iteration of, "This language couldn't be very good because I already know this other language really well."
Seriously, there's nothing wrong with advocacy, I've done my fair share of it as well. Either defend something you like against unfair attack or demonstrate something it does really well. That is, perform advocacy by showing advantages.
Making idiotic speed comparisons between a compiled language and an interpreted one just makes you look simple. The Ruby people will come up with a dozen things that are impossible in a compiled language and trump any argument you make like that. That's because each one has different strengths and different uses for which it is appropriate.
lnguyen replied ago:
This is pretty weak sauce. I would like to read another iteration by the same author.
stalky replied ago:
Ruby, like Perl before it, seems to make keystroke minimization a high priority. Why is printing a sorted list of properties in alphabetical order in 1 line a worthy goal?
Complexity is the enemy of software systems, not an excess of keystrokes.
dougal replied ago:
One of the strength in Ruby is the condensed syntax. Java has strengths in other areas. It's that simple.
Re: stalky. I agree however I think its stated nicely in the Python Zen
"Simple is better than complex.
Complex is better than complicated."
Voters For This Link (21)
Voters Against This Link (15)