Paving the on-ramp to Java
I am amused by this:<p>> Worse, the early exposure to static methods will turn out to be a bad habit that must be later unlearned.<p>I have been using Java since 1.0 and it is my default language. I am writing Java code today.<p>I write functions using ‘static’ all the time. I prefer that a function be static. It shows that it does not depend on state of the enclosing object. Using ‘static’ on methods is not a bad habit. Having static fields and state is to be avoided.