Super Testnet's avatar
Super Testnet 2 months ago
Does "measure twice, cut once" have an equivalent in software design? Something like "Spec it out twice, code it once"

Replies (15)

n0>1's avatar
n0>1 2 months ago
I like to measure 3 times so I only have to cut twice.
It would have something to do with automated testing, for sure. But there's no real way to enforce discipline on programmers the same way you can on craftsmen.
Super Testnet's avatar
Super Testnet 2 months ago
the great thing about app-layer development in bitcoin is, you don't have to reinvent the wheel you *get* to
Probably something like implement once, sec out once from crappy implementation, implement the crappy spec, realize the new implementation sucks because the sec is bad, spec again and the third time you implement it's mostly there. But you probably have to revisit the spec again... 😂
Sly Fawkes's avatar
Sly Fawkes 2 months ago
What about "Throw shit at the wall and see what sticks"
The whole Bitcoin network certainly didn't run enough tests before deploying Taproot. Or Segwit for that matter, given how the discount actually gets used.