News for hackers. Stuff that matters.
Re:Coding Skill and the Decline of Stagnation by esrauch on Friday January 13, 2012 @06:05PM (#3462804)
All of your objects are immutable? Besides that's hardly an argument for having public members, being able to remove the setter or getter (or conditionally throw exceptions in them) is one of the exact reasons why you write them.

The intent of the comment you are replying to "best practice is if you would add a public member, instead add a private member and a setter & getter" which is generally correct.

Re:Coding Skill and the Decline of Stagnation by pigs on Friday January 13, 2012 @06:37PM (#3462896)
Yep, I think I misread his comment, which was probably a misread of my original post, which I'll admit wasn't stated very clearly.