What has writing about the Core Guidelines shown me?
summary
A book distills the Core Guidelines into 30 core guidelines chosen to fit a 250‑page, ~90,000 words target; it tracks the Guidelines’ 22 sections, shows concrete examples (a command‑line parser refactor, function‑signature bloat fixes, scoped enums and constexpr uses), recommends the GSL and modern ownership types, and places all code on Compiler Explorer for inspection. Writing cadence is explicit: ~750 words weekdays and 1,500 each weekend day, finishing the draft May 28.
AI-written summary · about
chapters (22)
- 0:00Start
- 19:24The Law of Triviality
- 22:10Getters and Setters
- 23:09Multiple Declarations on a Single Line
- 27:57Implications of Api Compliance
- 28:52Multi-Threaded Programming
- 31:39Discourse on Ownership
- 32:45Difference between a Singleton and a Singleton Pattern
- 37:13What To Do about Returning Extra Information to a Function Caller
- 37:45Return Value Optimization
- 38:02Scoped Enumerations
- 38:29Declare an Enumeration
- 38:55Keeping Scopes Small
- 39:15Scope and Duration
- 40:47Implications of Template Use
- 44:19Encapsulating Rule Violations
- 48:59Cohesion and Coupling and Encapsulation and Data Hiding
- 49:26Abstractions
- 51:38The Three Pillars of Object Orientation
- 1:01:57The Production of the Book
- 1:04:46Diagrams and Pictures
- 1:06:44Cover Sketches
related talks
55mC++ Core and Other C++ Guidelines - The Good, the Bad, the… Questionable?
01h 29mC++ Core Guidelines - Modernize your C++ Code Base
01h 29mWriting Good C++14... By Default
01h 41mWriting Good C++14
01h 00mThe Guideline Support Library: One Year Later
25mHow to Master C++
01h 02mA Critical Look at the Coding Standards Landscape
51mCode Analysis ++
