On 2016-07-06 17:01, Ted Roche wrote:
On Wed, Jul 6, 2016 at 4:51 PM, Edward Leafe <[email protected]> wrote:
I know I've said it, and I know Ted's said it, and so have many
others. It is excellent advice.
'Tis. I'm pretty sure I learned it from Steven Black, who 'got' OOP
long before I did.
He, in turn, is likely to have picked it up from Eric Gamma, of the
Gang of Four:
http://www.artima.com/lejava/articles/designprinciples.html
It's a key idea behind object orientation: don't tell objects what
code to run, send a message to them telling them what result you're
after, and leave the implementation to the object (information
hiding).
One of the great benefits--as I used to preach at Central PA VFP Users
Group in my OOP sessions--was that the code was easily portable.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.