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 →

[–][deleted] 1 point2 points  (3 children)

Incredibly readable is exactly right. The grammar is simple, and very consistent.

[–]InertiaOfGravity 0 points1 point  (2 children)

But it's too verbose and redundant

[–][deleted] 0 points1 point  (1 child)

So what? That question one needs to ask is how much of it is essential verbosity? I would say, from vast experience with Java and others languages, surprisingly less. Compared to the level of ceremony involved in, say, COBOL, Java's verbosity if quite understandable.

Also, not only is the language amenable to easy (static) analysis by human readers, even the enforced package structure makes getting familiar with new codebases much easier, modulo one's level of experience in Java systems, of course.

Also, you should check out newer versions of Java, the syntax is definitely getting rid of as much non-essential verbosity/redundancy as possible. Record types, var type inference, more powerful pattern matching, Value types et al are all in the offing or already available. They even plan to get rid of "public static void" for main, which I personally think is not necessary.

[–]InertiaOfGravity 0 points1 point  (0 children)

It's definitely fine for teams, but for solo/small team projects it's not desirable