News for hackers. Stuff that matters.
Re:Coding Skill and the Decline of Stagnation by jiggy2011 on Friday January 13, 2012 @05:35PM (#3462698)
Why does everything have a getter/setter by default? That is a pretty horrible anti-pattern, is it something to do with being able to serialise the state (including internal state) of the whole object?
Re:Coding Skill and the Decline of Stagnation by hackinthebochs on Friday January 13, 2012 @09:30PM (#3463302)
It's about hiding implementation. If you access an object only through methods then the implementation can change without the client code having to know or care (aka be recompiled)