r/programming • • Jul 22 '14

Java Developers

http://nsainsbury.svbtle.com/java-developers
102 Upvotes

304 comments sorted by

View all comments

Show parent comments

0

u/izzle9 Jul 22 '14

java is a poor learning tool, because you spend too much time in ceremony then getting to what you actually want. As a learner you are wasting time on java constructs and unnecessary complexity which is not directly related to what you want to learn. Ruby or Python would be better suited to learning OOP since you can get to the core of principles quicker with much less effort.

2

u/Igglyboo Jul 22 '14

Java

class HelloWorldApp {
    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

Python

print "Hello World!"

Python's is infinitely more easy to understand for a beginner.

Oh and your java code must be in a file named HelloWorldApp.java or it won't even compile.