Conventions used
There are a number of text conventions used throughout this book.
Code
in
text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “Let’s dive a bit deeper and see what a general implementation of the Result
type looks like.”
A block of code is set as follows:
bool IsBookPopular(Book book) { if (book.AverageRating > 4.5 && book.NumberOfReviews > 1000) { return true; } return false; }
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “Refactor it using Railway-Oriented Programming (ROP) to improve the error-handling flow.”
Tips or important notes
Appear like this.