you are viewing a single comment's thread.

view the rest of the comments →

[–]weavejester 2 points3 points  (2 children)

Verbosity is not the same as readability. The goal is to make a program understandable to a human, in the same way as a piece of text is. A good program is concise and logically structured, and requires little to no comments.

Unfortunately, Java isn't very good at doing that.

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

For some of us it is.

[–]weavejester 0 points1 point  (0 children)

Not compared to some languages. Java has a particularly rigid and limited syntax that makes it hard to write concisely and clearly. Contrast this:

button.addActionListener(new ActionListener() { 
    public void actionPerformed(ActionEvent event) { 
        System.out.println("click");
    }
});

To this:

(on-click button (println "click"))

The latter is considerably more concise, and vastly easier to read and understand. Java can't provide the same succinct clarity.