Re:Why I Like The Verbosity of Java
by jiggy2011 on Wednesday January 04, 2012 @10:45AM
(#3424492)
A few things that annoy me about Java:
Lack of an echo keyword.
When I don't want to use the debugger but just print a few things to console, System.out.println("x = " + x) is a real mouthfull.
Exceptions:
I end up with too many layers of indentation sometimes because of exceptions that I know will never be thrown anyway.
For example let's say you want to SHA1 hash something, you have a NoSuchAlgorithmException incase you are running on a JVM without a SHA1 hash function, which is something I know will never happen with my program.
Lack of an echo keyword. When I don't want to use the debugger but just print a few things to console, System.out.println("x = " + x) is a real mouthfull.
Exceptions: I end up with too many layers of indentation sometimes because of exceptions that I know will never be thrown anyway.
For example let's say you want to SHA1 hash something, you have a NoSuchAlgorithmException incase you are running on a JVM without a SHA1 hash function, which is something I know will never happen with my program.