Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 958484

Pages: 1
Patrick Calahan
Unregistered




very silly article
      #1734 - 09/10/03 10:11 PM

The point that the author seems to be awkwardly stumbling towards is simply that encapsulation is good. An object should expose the smallest number of data and behaviors necessary to fulfill its contract with the outside world.

Bean properties are a very useful tool in toward this end, and like any tool, they can be over- or mis-used. But juvenile hyperbole like "Getters and setters are evil" really does nothing except spark lengthy, pointless bickering on message boards like this.

If that's the author's true intent, my hat's off to him.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:   

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 6390

Rate this topic

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5