Y
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
pphysch
1188 days ago
That's a great way to summarize it.
With the corollary that "hard-coded data" is still data, not code.
link
westernpopular
1188 days ago
aka single source of truth
link
With the corollary that "hard-coded data" is still data, not code.