Link Details

Link 881845 thumbnail
User 470961 avatar

By armelnene
Published: Nov 23 2012 / 12:46

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.
  • 7
  • 8
  • 991
  • 2605


Add your comment
User 388907 avatar

MCII replied ago:

0 votes Vote down Vote up Reply

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

User 983885 avatar

infovation_Softwares replied ago:

-3 votes Vote down Vote up Reply

that sound like Sheep and over that SHAMELESS

User 187417 avatar

sproketboy replied ago:

1 votes Vote down Vote up Reply

ROFL javaworld.

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