The document discusses various types of programming dogma and provides recommendations around when and how to use certain practices like commenting code. It notes that while formatting code and having coding standards are generally good practices, dogmatically insisting on things like commenting all code or avoiding conditionals at all costs can be counterproductive. The document advocates explaining intent with comments but also demonstrates how to refactor comments into the code through methods, variables or constants. It also discusses handling errors, avoiding wasted cycles, and using conditionals and polymorphism appropriately.
Related topics: