↓ Ir para o conteúdo principal

← todas as notas

🖼 Comic

So so many gems in this book

Posted by Gergely Orosz (@gergely.pragmaticengineer.com) on Bluesky, 2025-05-08. Post.

So so many gems in this book.

Plus… you now know where “Coding Horror” was coined (and indirectly led to Stack Overflow!)

Page 200, Chapter 8: Defensive Programming. A cartoon face with spiky hair labeled “Coding Horror” sits next to a “Bad Java Example of a Class that Throws an Exception at an Inconsistent Level of Abstraction”, with a callout pointing to the method declaration.

A “Key Point” icon beside a paragraph explaining that defensive programming is based on defensive driving: a routine should not be hurt by bad data, even when the bad data is another routine’s fault.

Page 189, section 8.2 Assertions. Figure 8-1, photo by Mike Siegel/The Seattle Times: part of the Interstate-90 floating bridge in Seattle that sank in a storm after its flotation tanks were left uncovered and filled with water.

Page 246, Chapter 10: General Issues in Using Variables, section “Keep Variables ‘Live’ for as Short a Time as Possible”, with a diagram comparing short and long spans against long live time.