View Only

Pattern: Don't Repeat Yourself (DRY)

By Michael Jastram posted 03-07-2019 04:04



Repetition leads to additional work and to inconsistencies: Avoid it whenever possible!


It's almost embarrassing to mention DRY explicitly, as it is so well-known. Still, as part of the ongoing optimization of your product development, it's important to reflect on this on a regular basis. In particular, we are often forced to repeat ourselves: Our development history is largely a repetition, when we start a similar project, the temptation is there to copy and paste.


A lot has been written about the DRY concept in general.

In the context of product development, tools are key for preventing repetition:

  • Use a tool that support versioning
  • Use a tool that supports baselining
  • Use a tool that supports reuse
  • Use proper techniques for integrating tools that share data. Either synchronize data automatically, or reference them without copying them.

Related Patterns