Services Practices

Pattern: Don't Repeat Yourself (DRY)

By Michael posted 03-07-2019 07:04

  

Intent

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

Motivation

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.

Implementation

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

0 comments
3 views