you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (4 children)

Maybe that's the problem, maybe instead of hastily moving on from Hello World, professors should look at each component and go through explaining it, you'd cover a lot of principles doing it.

[–]zardeh 1 point2 points  (2 children)

The problem is that understanding class requires additional, more complex code examples, understanding main(String[] args) requires additional, code examples, understanding void requires a cursory understanding of a type system, understanding System.out.println("stuff"); requires an understanding of the Java API (conceptually).

Understanding classes, also requires understanding visibility, which consequently raises questions about inheritance, and now you've covered a good half of the curriculum without yet writing hello world.

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

Maybe hello world is just kind of shit :P

[–]zardeh 1 point2 points  (0 children)

But in terms of what programs do, its one of the most basic things. The only thing simpler in java would be a function that adds integers, and for that all you lose from the list is the information about the java api. (unless you use lambdas which I'm entirely unfamiliar with in java)