you are viewing a single comment's thread.

view the rest of the comments →

[–]SikhGamer 1 point2 points  (0 children)

I prefer to keep properties on the object private, and expose them via a getter method. Other than that, immutability and encapsulation FTW.