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
daedalus_hammer
stranger


Reged: 03/25/07
Posts: 1
Brilliant
      #44882 - 03/25/07 08:06 PM

"Without a clearly defined dynamic model, you're only guessing how you will use a class's objects. Consequently, accessor methods often wind up in the model because you must provide as much access as possible since you can't predict whether or not you'll need it. This sort of design-by-guessing strategy is inefficient at best. You waste time writing useless methods (or adding unnecessary capabilities to the classes).

Accessors also end up in designs by force of habit."

Yup, that just sums it up (at least for a lot of my mistakes), and it's encouraged by people who learned "OOP" while on the job.
And those people mistake "OOP" idioms, and specific language idioms with actual OOP knowledge an programming skill.


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: 6388

Rate this topic

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5