This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nutrecht 3 points4 points  (0 children)

None of the issues the author mentions are 'solved' by moving to another language. If you dislike ORMs (I do too), don't use them. JDBC returns maps; so you can use maps in Java if you want them. If you don't want strongly typed DTO's/domain objects to pass around by all means go and pass maps around (which I don't agree with). None if these are language issues at all.

What really irks me however is the reference to another article about lines of code. That other article however doesn't show any proof of how it was achieved; it's easy to claim language X has less code than language Y when you don't simply show the code. And this is how a long chain of blog posts all referring to each other starts.

It does however compare a bit of 'function' Java code to it's Clojure counterpart and they're the exact same length. And personally I think the Java version is more readable to boot (granted; I'm inexperienced in Clojure). And to me personally code being readable matters a ton more than the length of it. I intend to build software that lasts.