1. Take every single function, even private ones.
2. Mock every argument and collaborator.
3. Call the function.
4. Assert the mocks were called in the expected way.
These tests help you find inadvertent changes, yes, but they also create constant noise about changes you intend.I have an electric cargo bike. During a kids party yesterday I ran 5 different errands with it while someone with a car managed to get stuck in traffic, not find a parking spot, and miss the whole thing.
The only reason why cars are the size and shape they are is because ICE engines couldn't be made smaller. Electric engines on the other hand are small enough that I can have the chassis of a fully functioning car be light enough to lift by one man.
I think we will see small, light weight and intrinsically pedestrian safe cars made of tubes and canvas replace the heavy monstrosities we have now.
But surely the problem with the final paragraph is the transition? Assuming the old style of vehicle remains on the road, then my lightweight one is at risk of being crushed. Only a niche minority would choose that (as a cargo bike owner, I'm also one, but I recognise most are not, with good reason.)
Unless we built a whole separate infrastructure.... We already see a lot of electric scooters using cycle lanes.
So why don't we just have GMT year-round? It's kinda fun to have sunset at 2130 in June but is it really so important?
Take a year off work to travel the world and you'll find your subjective sense of time passing slows right down.
Does it matter though? Does it matter how many experiences you collect? You can't take them with you. Better to develop relationships that can be a source of joy (I imagine. I have not done that).
Nevertheless there's still a luxury market for hand prepared food.
Perhaps software will evolve the same way
I'm willing to believe the hype on LLMs except that I don't see any tiny 1-senior-dev-plus-agents companies disrupting the market. Maybe it just hasn't happened "yet"... But I've been kind of wondering the same thing for most of 2025.