Comment

Comment by hydroxonium

"Single source of truth" is more meaningful than the overly simplistic "DRY".

If two things are _supposed_ to behave similarly, then not having duplicate code makes perfect sense.

If two things just _happen_ to behave similarly (at first), it may be a hasty generalisation to immediately refactor them to use the same code.

parent hydroxonium 5 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton