Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Design Pattern Abuse

Design Pattern Abuse

Design patterns should emerge from your code, not be forced upon it, but too many times we are blinded by our own ambitions. Even when we desire to do implement the best possible solutions, we misuse the greatest tools we have at our disposal.

This presentation discusses some of the ways that we abuse design patterns, so that we can recognize our mistakes and learn to use design patterns in the most beneficial ways possible.

Avatar for Patrick Delancy

Patrick Delancy

November 13, 2015
Tweet

More Decks by Patrick Delancy

Other Decks in Programming

Transcript

  1. NOTICE!!! This slide deck has been adapted from a presentation

    that was intended to be given live, in person…. like with a real person in front of real people. You know… breathing the same air and all that. The key points have been transcribed onto separate slides, so you still get some benefit from reading through it all, but you are still missing out on all of the great stories, witty banter, hilarious costumes, stunning arias … or something like that. If you REALLY want to get the most out of this presentation, go to patrickdelancy.com and ask him to come give it to your group!
  2. I hate how the harder I try to use them,

    the worse my code suffers.
  3. Even when a pattern turns out to be wrong for

    your solution, you keep pushing forward with it.
  4. By that, I mean don’t start with the pattern. Instead,

    write code that fulfills the requirements