3 ms·
Here, only apply Don't Repeat Yourself to data not code. Making it mean each piece of knowledge should have a single authoritative reference. E.G. Avoid (if pos
by smac__ 4y ago
Here, only apply Don't Repeat Yourself to data not code. Making it mean each piece of knowledge should have a single authoritative reference. E.G. Avoid (if possible) places where state is synced.
- pphysch 4y agoThat's a great way to summarize it. With the corollary that "hard-coded data" is still data, not code.
- westernpopular 4y agoaka single source of truth