~/talk

Free your functions!

Talkat Meeting C++ 2017 · 2017-11-09..11-11· [design-collaboration]
slides:none on file

Claims that C++ should favor non-member non-friend functions over member functions and backs that with concrete examples and mechanisms: a small reset_values free function reduces coupling and duplication, enables overloading and templates, and makes unit testing simpler; standard-library moves like std::begin and free real/imag show generic-code necessity; a struct-with-member compute example demonstrates performance limits (thispointer inhibits optimization) and a free function can be faster. Also covers namespaces, detail hiding, and mock/virtual dispatch patterns.

AI-written summary · about

  1. 0:00The importance of software
  2. 2:39Introduction to SOLID
  3. 4:40Encapsulation arguments
  4. 7:50Coupling and flexibility
  5. 13:21Reusability and naming
  6. 16:02Generic programming
  7. 21:01Testability advantages
  8. 24:02Performance benefits
  9. 26:41Real-world examples
  10. 31:02Addressing counter-arguments
  11. 36:41Tooling and syntax
  12. 40:00Mocking and paradigms
  13. 43:28Guidelines and conclusions
  14. 51:14Q&A and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.