Hacker News new | ask | show | jobs
by foundart 1198 days ago
Lots of good ideas here, especially that duplication is better than the wrong abstraction.
1 comments

One of the best pieces of advice I got really early in my career was write something 3 times before you decide to abstract it. Until you’ve done that, you just don’t know what parts you can really abstract and you’re likely wasting time. Pretty much every time I’ve ignored that advice I’ve regretted it.
Same. Writing something more than once gives you more than one perspective on the problem space. And with a better understanding of the problem space, you're more likely to find an optimal solution.
aka WET: Write Everything Twice.