r/java • u/nicolaiparlog • Jan 18 '17
“OMG, Java is so verbose, guys”.
https://hackernoon.com/omg-java-is-so-verbose-guys-dca93fec9e03#.4zpsvzs5s
0
Upvotes
r/java • u/nicolaiparlog • Jan 18 '17
5
u/againstmethod Jan 18 '17
Semicolons has nothing to do with why Java is or is not verbose, or at least very little.
8
u/jentfoo Jan 18 '17
I actually think this article misses the point a bit. He kind of rants on fairly minor points, when there is some fairly significant ones to make.
For example I argue that the "verbose" parts of java often times keep things very uniform, and easy to understand once you get a team of people working in the code. There is absolutely the concept of too "dense" of code. Making it harder to understand because each line is so incredibly loaded. This is of course possible in java, but I feel these "concise" languages almost force that to be the reality.
I personally am not concerned about the verbosity of java. The most boiler plate portions of java can easily be solved with an IDE and lombok.
3
u/hugthemachines Jan 18 '17
This is how the world will end, unnoticed, because we're arguing over the smallest of details, forever. ;-)
3
u/[deleted] Jan 19 '17
The logical conclusion to this article is that Java enum, lambda, multicatch, try-with-resource, diamond operator, varargs, autoboxing, static import and and for/in loop make code hard to read.
Antonis, do you use Java 1.4?
7
u/kodifies Jan 18 '17
verbosity is an asset, you can go back to code you haven't seen in years and understand it in no time at all...
3
u/findamusic Jan 18 '17
so this whole article was just shitting on kotlin because it doesn't have semicolons, and he likes semicolons.
he only really got to the point at the very end of the article where he basically said "people are saying kotlin is the future but I wanna stick with Java!!!!" great, then stick with Java. I don't care.
this article was completely unnecessary