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

Right, if the "truth" is encapsulated inside an Object, it is the single location for that truth.

If you want a "different truth" create another object. And never assume that the truths of different objects must be the same.

That is a difficult condition to achieve in practice we often code based on what we know a method-result "must be, therefore it is ok to divide by it etc."



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

Search: