Part IV. Selected Topics
In the previous three parts, we covered a wide range of techniques for making code easy to understand. In this part, weâre going to apply some of these techniques to two selected topics.
First, weâre going to discuss testingâhow to write tests that are effective and readable at the same time.
Then weâre going to walk through the design and implementation of a special-purpose data structure (a âminute/hour counterâ) to see an example where performance, good design, and readability interplay.
Get The Art of Readable Code now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.