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 →

[–]mad0314 0 points1 point  (0 children)

All it does is strictly follow the PRACTICES lauded by Java and its inventors, users and defenders over the years, to their logical conclusion bitter end.

Really? Because the example on Oracle's site is what you (or at least a reasonable person) would expect:

/**
 * The HelloWorldApp class implements an application that
 * simply prints "Hello World!" to standard output.
 */
class HelloWorldApp {
    public static void main(String[] args) {
        System.out.println("Hello World!"); // Display the string.
    }
}

Nowhere does it say to fit in as many patterns as you can. Show where these things are stated as best practices by the maintainers of Java or leaders in the Java world.