«« Next » « Previous
«« Next » « Previous

Link Details

We're glad you're here, but we'd be thrilled if you voted! Login and vote now.
Link 93150 thumbnail

By alashcraft
via lostechies.com
Published: Jul 08 2008 / 03:42

The Law of Demeter, and its corresponding code smell, Inappropriate Intimacy, are some of the best bang-for-your-buck code smells that you can address. The basic idea behind each of these concepts is code related to an object should probably be inside that object. It's also known as the Principle of Least Knowledge, and I've found it very helpful in creating objects with rich behavior.
  • 9
  • 0
  • 491
  • 126

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.

Voters For This Link (9)



Voters Against This Link (0)