3 ms·
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.printl
by jiggy2011 15y ago
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.