Long live the JVM and here we go again comparing Java to Rails the framework. I've seen the pros and cons of both Java and Ruby. From an organizational standpoint it's hard to beat Java. The performance is there and in a team setting statically typed languages really shine. You can argue about the quality of programmers that flock to Java quoting pg ad nauseaum but we don't live in a lisp world. Elegant code is writt…
> Elegant code is written by good programmers—not the language. But some languages make writing elegant code easier than others (compare C to Python, for example).
I can write some terse AND elegant list comprehension code in Python that takes lines and lines of crappy looping in Java, but I can also write some seriously terse code to centralize business logic via a web service with automatic transaction and security management and have it perform an order of magnitude faster than a similar implementation in Ruby or Python (JEE 6). To me, that is elegant.
Likewise, I can do some elegantly maintainable things with .NET generics that I can't do with Java's lame erasure based implementation.
Of course, you could always just takes Einstein's opinion :) "If you are out to describe the truth, leave elegance to the tailor."