Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
smac__
· 3y ago · 0 comments
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.
Comments
[–]
pphysch
3y ago
That's a great way to summarize it.
With the corollary that "hard-coded data" is still data, not code.
[–]
westernpopular
3y ago
aka single source of truth