Java Readability

Re: The Positive Legacy of C++ and Java: “Java got this balance correct – Java might be verbose and lack lots of ‘cool’ features, but it’s really easy to figure out what some random code is doing.” (Via infoq)

I often hear that Java is “easy to read.” Don’t kid yourselves. When everything takes so many lines to implement and there are so few opportunities for abstraction available, reading Java code feels like being lost in the snow — everything starts to look the same.

Don’t get me wrong, you can have readable Java. It’s just not the norm. You have to work really hard at it. This isn’t unique to Java though — you can be incomprehensible in any language. Ultimately code readability is more about you as an author than the language.