← Back to context

Comment by kaba0

3 years ago

Java is much much less verbose than Go, and contrary to popular opinion, it really is not particularly verbose, especially modern Java.

I haven't written much go or much java (in this millennium anyway). The little go I wrote didn't have many error checks, is that what usually makes it verbose? The modern java I wrote was a little more functional than 1999 java, but it utilised reflection heavily, and it was a test harness for a black box, so not idiomatic probably, but there was still a lot of boilerplate. C# seems about normal verbosity, and so does rust. Both are less verbose than a lot of c++98 I run into because of lambdas and iterators etc. Julia on the other hand is quite possibly the least verbose language I have ever seen, apart from matlab (which isn't truly general purpose) , and python/numpy/pytorch close behind.

My beef with Java has always the extremelyLongMethodNamesInTheStdLibraryFactoryFactory.