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

Reading 9: Avoiding Debugging

web.mit.edu · 3,974 words · saved by 1 readers

The topic of today’s class is debugging. More precisely, we’re going to look at ways to write code that either avoids debugging entirely, or at least makes it easy when we have to do it.

Reading 9: Avoiding Debugging Reading 9: Avoiding Debugging Software in 6.031 Safe from bugs Easy to understand Ready for change Correct today and correct in the unknown future. Communicating clearly with future programmers, including future you. Designed to accommodate change without rewriting. Objectives The topic of today’s class is debugging. More precisely, we’re going to look at ways to write code that either avoids debugging entirely, or at least makes it easy when we have to do it. First defense: make bugs impossible The best defense against bugs is to make them impossible by design. O

Explore this link on the map →

related reading