Explore the principles of effective class design and function placement in C++ programming through this CppNow conference talk. Delve into the decision-making process behind choosing between member functions and free functions, and learn how to extend existing classes through inheritance, composition, or additional free functions. Examine the impact of friend functions on encapsulation and discover techniques for creating safe, efficient, and simplified interfaces. Combining ideas from generic and object-oriented programming, build a foundation of good engineering principles to develop scalable software. Gain insights on reducing code duplication and size, minimizing potential bugs, and optimizing your C++ codebase through thoughtful function design and placement.
Overview
Syllabus
David Stone: Functions Want To Be Free
Taught by
CppNow