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

DRY 2.0

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →

DRY 2.0

DRY (Don't Repeat Yourself) is often defined as "No Code Duplication". That's DRY 1.0. The DRY principle really shimes in when you get it to the next level: "No Knowledge Duplication".

This lightning talk was given at #VanRuby Lightning Talk Meetup on Dec 1st 2016.

Avatar for Philippe Creux

Philippe Creux

December 01, 2016

More Decks by Philippe Creux

Other Decks in Programming

Transcript

  1. @pcreux VanRuby - Dec 1st 2016 “For example, if you’ve

    duplicated a bit of code in many places, the Don’t Repeat Yourself (DRY) principle tells you to extract the duplication into a single common method and then invoke this new method in place of the old code.”
  2. @pcreux VanRuby - Dec 1st 2016 Free Starter Pro99 Pro199

    Pro499 NEW PRICING! Free Startup Prime Premium …
  3. @pcreux VanRuby - Dec 1st 2016 DRY = NO CODE

    DUPLICATION + NO KNOWLEDGE Duplication