flâneur — a map of the web's best reading

Why Good Developers Write Bad Unit Tests · mtlynch.io

mtlynch.io · 2,386 words · saved by 1 readers

The standard techniques of good development can lead you astray if you don't adjust them for unit tests.

Congratulations! You've finally written so many lines of code that you can afford a beach house. You hire Peter Keating, an architect world-famous for his skyscrapers, who assures you that he has brilliant plans for your beachfront property. Months later, you arrive at the grand unveiling. Your new home is an imposing five-story behemoth of steel, concrete, and reflective glass. As you pass through the revolving doors, you track sand onto the opulent marble floor. Inside, you find a reception desk backed by an elevator bank. Upstairs, your master bedroom and three guest rooms are just four adj

Explore this link on the map →

saved by

related reading