Advice worth stealing.
One of the most useful pieces of advice I’ve picked up comes from the programmer and streamer ThePrimeagen: you build everything three times. It matches my experience so closely that I now plan for it.
The first time: find the atoms.
The first pass is about finding the atomic acts that make up the critical path: the smallest steps that have to work for the product to work at all. Can I get the data? Can I read it reliably? Can this one hard step be done?
The second time: learn how they combine.
The second pass is about combining those atoms into molecules that solve the problem. Most of what you learn here is the ways it doesn’t work: the combinations that break, the cases you didn’t see coming, the shortcuts that turn out to be traps.
The third time: build it properly.
By the third pass, you understand the problem space. The surprises are behind you, and the focus shifts entirely to solving the problem in the best possible way, within the time and budget you have.
For familiar problems, it’s already done.
For a lot of the work clients bring me, I’ve already built the solution dozens of times, in different ways, for different teams. The first two passes happened years ago. You get the benefit of them without paying for them, and that’s a large part of why my estimates hold.
For something truly new, expect all three.
When we’re building something that hasn’t been built before, the three passes are real, and you should expect to see them. Think of it less as starting over twice and more like the ship of Theseus, rebuilt plank by plank while it’s still on the water.
We set off in a canoe: the smallest thing that floats and proves the idea works. Lash two together and you have a catamaran, steadier and able to carry more, and in building it you learn what the water is really like. With that knowledge, and that boat to work from, you build the schooner.
At every stage you have something that works. The goal isn’t to throw boats away. It’s to make sure that by the time you’re building the schooner, nobody is guessing.