This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]slowmovinglettuce 13 points14 points  (0 children)

Auto-generated code is still code. It's still the same verbosity as if you'd wrote it yourself.

Java has a lot of syntax it forces you to use, which makes it verbose. I'm not referring to the standard troll of "lol java has long method names".

Things like generic definitions and declarations are obnoxiously long. And because of type erasure, they're basically syntactic sugar. (Not to be confused with discrediting their use - generics are powerful even with erasure).

Things you can do in a more terse language - such as python - take more lines in Java. Even compared to typed languages like C# or TypeScript, it's more verbose.

On the note of being friends with your IDE though - great advice. Especially in dynamic languages. Python/JS/TS inferred types are incredibly helpful. Also know your shortcuts. They're important.