Started programming 8 bit computers in 1981 · Author has 13.4K answers and 98.9M answer views · 5y ·
Yesterday, I had a smugness related disaster.
I’d very confidently checked in a new feature, declaring to the world around me how confident I was it was working.
‘I’ve got loads of unit tests’, I said.
‘You’ll hardly have to manual test it at all’, I said.
Failed the first manual test when a checkbox worked exactly backwards.
Turned out I had got those unit tests exactly backwards, then wrote code to make them pass.
D’Oh !
So the repeating fault here would be my hubristic tendency to feel a bit smug from time to time
11.2K views ·
View upvotes
· View 1 share
· Answer requested by 1 of 13 answers
Something went wrong. Wait a moment and try again.