Why do we write unit tests?
A few years back, a former colleague — a recent college graduate at the time — asked me “Why do we spend so much time writing unit tests?” I’m not sure present-day me would be too impressed with the answer I gave the junior developer. Considering I was only his senior by maybe 2…