3 ms·
I've been developing in Java for a while, and a lot of Java code is ugly because the "patterns" developers use are ugly. That's not to say that you can't write
by jefflinwood 16y ago
I've been developing in Java for a while, and a lot of Java code is ugly because the "patterns" developers use are ugly. That's not to say that you can't write great code in Java, but compare a Java app with JavaBean getter/setters to Spring JDBC Template DAOs to a Rails app with ActiveRecord, and it's no contest. Another source of ugliness is logging - logging libraries that abstract away other logging libraries.
It was worse when EJB2 was the standard.
Take a look at the Play framework for some modern, non-enterprisey Java.
http://www.playframework.org/ http://www.playframework.org/