Using the Problem to Solve the Problem
marcosvpj.com.br·2d·
Discuss: Hacker News
🧪Test Automation
Preview
Report Post

Programmers have a technique called TDD - Test Driven Development. The idea is to start from the end: before writing the code, you write a test that defines what the code should do. That test fails - obviously, the code doesn’t exist yet. Then you write the minimum code to make the test pass. Done, next test.

I use this every day at work. But I only recently realized I use the same thing for almost everything.


I had to cut a piece of ceiling material at a tricky angle. One of those where you look and don’t even know where to start measuring.

I tried everything. Measured, drew, measured again. No matter what I did, the angle came out wrong. The shape I wanted was right there in front of me, just look at the hole in the wall. But translating that into a cut mark on the w…

Similar Posts

Loading similar posts...