By smaye81
via summa-tech.com
Published: Feb 28 2013 / 09:14
I’ve always heard that getters and setters are a bad idea, but I never understood why. If you have ever been to a Code Retreat then you learned about the four simple rules of design. Using these rules, I’ll explain why you should avoid using getters and setters.
Comments
sproketboy replied ago:
How does stupid shit like this get voted up?
Voters For This Link (9)
Voters Against This Link (2)