This book’s mechanics will make more sense once you start reading it, of course, but as a reference, this book uses the following typographical conventions:
Used for email addresses, URLs, filenames, pathnames, and emphasizing new terms when they are first introduced
Constant widthUsed for program code, the contents of files and the output from commands, and to designate modules, methods, statements, and system commands
Constant width boldUsed in code sections to show commands or text that would be typed by the user, and, occasionally, to highlight portions of code
Constant width italicUsed for replaceables and some comments in code sections
Indicates a tip, suggestion, or general note relating to the nearby text.
Indicates a warning or caution relating to the nearby text.
You’ll also find occasional sidebars (delimited by boxes) and footnotes (at page end) throughout, which are often optional reading, but provide additional context on the topics being presented. The sidebars in Why You Will Care: Slices, for example, often give example use cases for the subjects being explored.