๐Ÿ“DRY is not about code but functionality

DRY principle is not about code but functionality.

If code is duplicated, it does not mean that it should be reduced. It might be used for two different things that just so happen to use a similar code now. That does not mean that they will always be in syncโ€”one part might evolve or change without affecting the other.

Backlinks