Link Details

Link 931215 thumbnail
User 301613 avatar

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.
  • 9
  • 2
  • 956
  • 1443
User 187417 avatar

sproketboy replied ago:

0 votes Vote down Vote up Reply

How does stupid shit like this get voted up?

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java