Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> It shows that it does not depend on state of the enclosing object.

Fine, but that's not relevant to the subject of this document, the "first program", as it would make all fields static, too, and so methods would still be dependent on state. It will just make moving to the next step harder; as the article says: this is probably not the direction we want to go when we scale up from a handful of statements and declarations to a simple class — we probably want to start using classes as classes, not just as containers for static members.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: