News for hackers. Stuff that matters.
Re:Repeat yourself, do more than one thing, and rewrite ever... by smac__ on Tuesday March 14, 2023 @01:10PM (#35154769)
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.
Re:Repeat yourself, do more than one thing, and rewrite ever... by pphysch on Tuesday March 14, 2023 @02:18PM (#35156067)
That's a great way to summarize it.

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

Re:Repeat yourself, do more than one thing, and rewrite ever... by westernpopular on Tuesday March 14, 2023 @07:59PM (#35161460)
aka single source of truth