Remix.run Logo
▲ s08148692 35 minutes ago

Hard disagree

Sometimes the naive implementation is fine. It gets you a MVP, and it can take a product far without ever needing an improvement. It lets you build a suite of tests to verify behaviour, and informs you that it's a useful feature in the first place. There's no point spending time on a perfect implementation of something when the slow build might be good enough and it could be something nobody wanted in the first place.

Once it's proved its worth you can then go back and spend some extra effort making it fast, with the safety net of tests to make sure the new (likely more complex and hard to reason about) implementation meets the spec