Hacker News new | ask | show | jobs
by smac__ 1188 days 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.
2 comments

That's a great way to summarize it.

With the corollary that "hard-coded data" is still data, not code.

aka single source of truth