10-11-2009, 10:33 AM
I don't think java is very good for learning how to program and this tutorial shows why. You are basically learning from two streams of information at once. You have to not only learn programming constructs like loops and variables, but since java is so strictly object-oriented, you also have to learn object-oriented programming.
This tutorial is good for the basic constructs, but almost anything object-oriented is glossed over. Reading this, I have no idea what a class is, what an object is, their relation and so on. I'm not saying this a bad tutorial, this post is more of a comment in general.
Also, I don't think a do while loop is useless. I don't get what you mean when you say you don't believe in forcing the user into a loop. You are the programmer, you can very well do as you please. In terms of its usefulness, I agree I have only used it rarely, but I don't think you should skip it since its a common element across languages. I have used it a couple times, most recently to initialize things before looping through a ResultSet so I wouldn't say its completely without use.
This tutorial is good for the basic constructs, but almost anything object-oriented is glossed over. Reading this, I have no idea what a class is, what an object is, their relation and so on. I'm not saying this a bad tutorial, this post is more of a comment in general.
Also, I don't think a do while loop is useless. I don't get what you mean when you say you don't believe in forcing the user into a loop. You are the programmer, you can very well do as you please. In terms of its usefulness, I agree I have only used it rarely, but I don't think you should skip it since its a common element across languages. I have used it a couple times, most recently to initialize things before looping through a ResultSet so I wouldn't say its completely without use.