Comment

Comment by wnevets

> So we had twice the code we needed.

Was that necessarily a bad thing and something that must be corrected for that code base?

I usually follow the same rule of thumb until I find myself repeatedly updating both at the same time. If I can't update one without updating the other then they must be the same thing and its time to DRY.

Don't Repeat Yourself when updating code.

parent wnevets 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton