Interesting Slide Deck on Software Design

Just found Allen Holub’s Everything You Know Is Wrong presentation, via the Yahoo DDD group. It makes a great case for favoring interfaces over inheritance and avoiding property getter/setters in favor of delegating work to the object being referenced (such that you don’t need to know its properties – just the net result of the operation). The interface discussion is similar to some of my recent postson the subject. The last slide also references his book, Holub on Patterns, which I hadn’t seen previously but will have to add to my reading list.

I have to admit that while I’ve been on board with favoring composition and interface inheritance over implementation inheritance, I hadn’t ever heard that “Getters are Evil” before reading this deck. Very interesting stuff.

If you liked this post, consider subscribing to email updates about my new posts, or sharing it on Hacker News.

Keyboard shortcuts

?
Show this help
Esc
Close this help or an open menu
n
Next (newer) post: Codebehind Files in ASP.NET MVC are Evil
p
Previous (older) post: CodePlex Support For TortoiseSVN
Tab
Move between links and buttons (Shift+Tab to go back)