DRY - Don't repeat yourself¶
A substantial number of [[bug]]s in software are caused by [[repetitive code]].
Every piece of knowledge must have a single [[unambiguous representation]] in the system.
Common violations of DRY¶
Magic value (number, string, etc) Duplicate logic in multiple locations