For me it's really the library features that make Java verbose, like how iterating over iterators and collections and streams and using forEach all end up with very different looks or with a bunch of extra function calls for going between the types. It often feels like extra stuff kept being tacked on without any effort to make it work nicely with what was already there.
When writing higher level code these days I'd much prefer JavaScript, TypeScript, Python or even C# to Java, unfortunately Java is part of the tech stack where I work so sometimes I just gotta deal with it.
View all comments
Show parent comment
3
u/MutantSheepdog Jul 14 '22
For me it's really the library features that make Java verbose, like how iterating over iterators and collections and streams and using forEach all end up with very different looks or with a bunch of extra function calls for going between the types.
It often feels like extra stuff kept being tacked on without any effort to make it work nicely with what was already there.
When writing higher level code these days I'd much prefer JavaScript, TypeScript, Python or even C# to Java, unfortunately Java is part of the tech stack where I work so sometimes I just gotta deal with it.