New Skill Forged: Programming Principles and Practice Using C++
New Skill Forged
Programming Principles and Practice Using C++ by Bjarne Stroustrup. 1274 pages.
Stroustrup’s C++ pedagogy textbook: class design from struct to class with invariants and pre/postconditions, deep copy semantics (copy constructor + assignment), vector internals (sz/elem/space capacity model, amortized push_back), RAII with exception safety guarantees (basic/strong/no-throw), grammar-to-recursive-descent-parser translation, and embedded systems C++ constraints (no new/delete/exceptions in hard real-time, pool allocators, bitfields).
What this skill teaches Claude to do:
- Design classes with explicit invariants and enforce them in constructors by throwing exceptions on invalid state
- Write pre/postconditions as comments and runtime checks to catch usage errors at the boundary
- Implement deep copy via copy constructor (const ref arg) and copy assignment (allocate new → copy → delete old → swap)
- …and 5 more
Browse the full skill at /skills/cpp-programming-principles
Forged from 4,939 books. Auto-generated by the Skill Forge pipeline.