Link Details

Though getter/setter methods are commonplace in Java, they are not particularly object oriented (OO). In fact, they can damage your code's maintainability. Moreover, the presence of numerous getter and setter methods is a red flag that the program isn't necessarily well designed from an OO perspective.

Posted by armelnene  |   Nov 23 2012 / 12:46

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.

Comments

User 388907 avatar

MCII replied ago:

Neither good nor "evil". JavaBeans is Java's component model. That's it.

Reply 0 votes
User 983885 avatar

infovation_Softwares replied ago:

that sound like Sheep and over that SHAMELESS

Reply -3 votes
User 187417 avatar

sproketboy replied ago:

ROFL javaworld.

Reply 1 votes

Recommended Links

Scala
Written by: Ryan Knight
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Play
  3. Akka
  4. Debugging JavaScript
  5. Design Patterns
  1. Apache Hadoop
  2. REST
  3. Java
  4. Git
  5. Java Performance
Connect with DZone