That's one reason you see more planning, training, apprenticeships, and established guidance in construction than in software. Iteration isn't a great technique.
After a bear gets into your bird feeder, you build an enclosure for the outside trash cans and the chicken feed. It takes well under half the time and you cut the rafters right the first time. All the while, you marvel at how little overlap there is between furniture making (your day job), and carpentry.
Then you start thinking about more fully featured structures. Hypothetically speaking.
Last year we purchased a property that needed a lot of work to make it liveable. It took 2 months and all my energy but I got pretty good at everything from replacing rotten flooring to doing my own plumbing. It’s amazing how many tricks you need to learn to become efficient though. That and the tools. Without a good base set of tools you’re a bit trapped (and you’ll always wish you had more). One thing that surprised me was that anytime I had tradespeople there they had nothing to offer on other trades. The sparks (electricians) would say “oh I don’t know anything about plumbing” for example. I’d have thought you’d just pick it up along the way, but apparently not.