Best Practices for Modern C++

Best Practices for Modern C++ is a two-day onsite training course with programming exercises, taught by Rainer Grimm. It is offered at the Gaylord Rockies from 09:00 to 17:00 Aurora time (MDT) on Saturday and Sunday, September 10th and 11th, 2022 (immediately prior to the conference). Lunch is included.

Course Description

I want to start with a question: Why do we need best practices for modern C++? My answer consists of three observations: C++ is complicated for the novice, challenging for the professional, and used in safety-critical environments. Best practices should give us the means to write type safe, bounds safe, and lifetime safe code by design.

My two-days class gives you a concise theoretical and practical insight into the C++ Core Guidelines and their lifesaving rules for safe C++ code by design. You learn the most important rules and how to apply them in modern C++. This class is based on my book C++ Core Guidelines Explained: Best Practices for Modern C++.


Participants should have a working knowledge of the C++ language and a willingness to question their way of writing modern C++ code.

I will give you a detailed insight into the C++ Core Guidelines in the class. This insight is the starting point for further discussions and exercises; therefore, you should bring your laptop, including a modern C++ compiler.

You get in return the training material consisting of the presentation, the exercises, and the solutions to the exercises. Additionally, you get a printed version of my book C++ Core Guidelines Explained: Best Practices for Modern C++.

Course Topics

  • Philosophy
  • Interfaces
  • Functions
  • Classes and class hierarchies
  • Enumerations
  • Resource management
  • Expressions and statements
  • Error handling
  • Constants and immutability
  • Templates and generic programming
  • Concurrency
  • The standard library
  • Source files
  • C-style programming

Register Here

Course Instructor

Rainer GrimmRainer Grimm has worked as a software architect, team lead and instructor for about 20 years. In his spare time he likes to write articles about C++, Python, and Haskell, but he also likes to speak at conferences. He publishes very often on his blog “Modern C ++“. Now he is a trainer giving seminars on Modern C++ and Python. His books C++20, C++ Core Guidelines ExplainedC ++ 11 für Programmierer, C ++ – Standardbiliothek, The C++ Standard Library and Concurrency with Modern C++ were published by O’Reilly and Leanpub.