On Wed, Jul 6, 2016 at 4:51 PM, Edward Leafe <[email protected]> wrote: > On Jul 6, 2016, at 2:09 PM, [email protected] wrote: > >> This tip below reminds me of that phrase years ago by Ed or Ted or somebody >> else that said "program to the interface, not the implementation." > > 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). -- Ted Roche Ted Roche & Associates, LLC http://www.tedroche.com _______________________________________________ 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/cacw6n4tncnnm9bseoykmxfvrnvn1fmhn80gojhv8dwqrmfd...@mail.gmail.com ** 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.

