BIRT 3.7
Written by: Michael Williams
Featured Refcardz: Top Refcardz:
  1. Scrum
  2. Apache Maven 2
  3. Essential MySQL
  4. Node.js
  5. Groovy
  1. jQuery Selectors
  2. Ajax
  3. Java
  4. Spring Config.
  5. Java Concurrency

Link Details

Link 24158 thumbnail
User 111696 avatar

By bloid
via adam-bien.com
Published: Jun 01 2007 / 10:02

The reaction for the posts Getters and setters: an antipattern. JavaBeans and OO and Summary: Public getters and setters should be considered as an antipattern caused some interesting discussions and comments. There was one common sense: exposing private attributes over getters and setters is neither objectoriented, nor domain driven style. An interesting solution for this problem offers JavaFX script
  • 8
  • 1
  • 1373
  • 1

Comments

Add your comment
User 182143 avatar

mezmo replied ago:

0 votes Vote down Vote up Reply

Actually, this looks a lot like Delphi, seems kinda silly after all this time.

User 209827 avatar

evarlast replied ago:

0 votes Vote down Vote up Reply

I would call these getters and setters. Hell, these are "Properties"

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.

Voters For This Link (8)



Voters Against This Link (1)