0:00 / 0:00
#c++#classdesign#encapsulation
Back to Basics: Designing Classes (part 1 of 2) - Klaus Iglberger - CppCon 2021
CppCon
189K subscribers • 103 videos on Hallway • Conference channel
- One of the most-watched uploads on CppCon, a conference or university channel Hallway lists. Nobody has recommended it in the communities yet, so it ranks below community picks.
- Presented by Klaus Iglberger
- Linked in the descriptionCppCon/CppCon2021bitbucket blaze-lib/blaze
Beginner. No background in the topic needed.
105K views4 years ago
Programming languagesSoftware designC++Object-oriented designDesign patterns
Klaus Iglberger explains how to design maintainable C++ classes, focusing on encapsulation, constructors, and class invariants.
cppcon.org/ github.com/CppCon/CppCon2021 --- Designing good, maintainable classes is a challenge. Sometimes it even feels like there is a decision to make in every single line of code. This talk will help you master this challenge. It will explain … * … why small classes are beautiful; * … why it is so important to encapsulate variation points; * … why inheritance is rarely the answer for customization; * … how to write good and maintainable constructors; * … how to make sure class invariants are maintained; * … how to handle member data; * … how to write good member functions; * … how to write good supporting functions; * … why your private members are not private at all. --- Klaus Iglberger Klaus Iglberger is a freelancing C++ trainer and consultant. He has finished his PhD in computer science in 2010 and since then is focused on large-scale C++ software design. He shares his experience in popular advanced C++ courses around the world (mainly in Germany, but also the EU and US). Additionally, he is the initiator and lead designer of the Blaze C++ math library (bitbucket.org/blaze-lib/blaze/src/master/) and one of the organizers of the Munich C++ user group (meetup.com/MUCplusplus/). --- Videos Recorded & Edited by Digital Medium: online.digital-medium.co.uk *--*Why it's here
A top upload from a listed channelCppCon is on Hallway's list of conference and university channels, and this upload is one of its most-watched talks or lectures. Nobody has recommended it in the communities yet, so it ranks below community picks.