Uploaded October 2024 | Updated December 2026, 3 hours ago
cppnow.org
---
The Most Important API Design Guideline - No, It's Not That One - Jody Hagins - C++Now 2024
---
Scott Meyers has famously proclaimed that the most important general design guideline is to make interfaces easy to use correctly and hard to use incorrectly. I don't dispute that claim, for the general case. However, for the specific case of an API, and in particular C++ library code, this guideline must take a back seat to something else.
So, what should that something else be? Obviously, since the above paragraph mentions C++ specifically, it must relate to performance in some way. Could it be to make interfaces as efficient as possible? If not, then what in the world could it be?
This talk will take a brief survey of general software design guidelines. Then, we will look at some specific examples. For some libraries, like the standard library, the design guidelines are well documented. For others, like many boost components, the design guidelines are part of the documentation. For others, we need to actually look at the API to see if we can determine the design guidelines that were used, if indeed, any guideline was used at all.
Finally, I will discuss what I believe to be the most important design guideline, and the implications for how we design and implement software in C++. In support of this claim, I will also present some patterns that can be used to effectively achieve this (and other) design goals.
---
Slides: github.com/boostcon/cppnow_presentations_2024/blob/main/Presentations/The_Most_Important_API_Design_Guideline.pdf
---
Jody Hagins
Jody Hagins started using C++ back in the mid 1980s, with cfront. In 1993, he enjoyed writing enough C++ support code to enable writing loadable unix device drivers in C++. Since then, he has been applying C++ to various problems within the fintech space.
---
C++Now 2025 - 28th April - 2nd May
C++Now is an annual onsite international C++ programming and coding conference held in Aspen, Colarado. For all C++ developers, C++ software engineers and those involved with the C++ language, CppNow provides an indepth and technical content provided by the best and brightest C++ experts of the C++ world.
Annual CppNow Conference - cppnow.org
linkedin.com/company/cppnow
twitter.com/cppnow
facebook.com/CppNow
reddit.com/r/CppNow
https://mastodon.social/@cppnow
think-cell develops one of the world’s leading PowerPoint applications, with C++ at the core of everything we build, from layout algorithms to deep integration with Microsoft Office. Interested in working on challenging C++ problems with real-world impact? Explore our open roles: think-cell.com/en/career/tech
---
Videos Filmed & Edited By Bash Films: bashfilms.com
YouTube Channel Managed & Optimized By Digital Medium Ltd: events.digital-medium.co.uk
---
#boost #cpp #api #cppprogramming #cplusplusprogramming
cppnow.org
---
The Most Important API Design Guideline - No, It's Not That One - Jody Hagins - C++Now 2024
---
Scott Meyers has famously proclaimed that the most important general design guideline is to make interfaces easy to use correctly and hard to use incorrectly. I don't dispute that claim, for the general case. However, for the specific case of an API, and in particular C++ library code, this guideline must take a back seat to something else.
So, what should that something else be? Obviously, since the above paragraph mentions C++ specifically, it must relate to performance in some way. Could it be to make interfaces as efficient as possible? If not, then what in the world could it be?
This talk will take a brief survey of general software design guidelines. Then, we will look at some specific examples. For some libraries, like the standard library, the design guidelines are well documented. For others, like many boost components, the design guidelines are part of the documentation. For others, we need to actually look at the API to see if we can determine the design guidelines that were used, if indeed, any guideline was used at all.
Finally, I will discuss what I believe to be the most important design guideline, and the implications for how we design and implement software in C++. In support of this claim, I will also present some patterns that can be used to effectively achieve this (and other) design goals.
---
Slides: github.com/boostcon/cppnow_presentations_2024/blob/main/Presentations/The_Most_Important_API_Design_Guideline.pdf
---
Jody Hagins
Jody Hagins started using C++ back in the mid 1980s, with cfront. In 1993, he enjoyed writing enough C++ support code to enable writing loadable unix device drivers in C++. Since then, he has been applying C++ to various problems within the fintech space.
---
C++Now 2025 - 28th April - 2nd May
C++Now is an annual onsite international C++ programming and coding conference held in Aspen, Colarado. For all C++ developers, C++ software engineers and those involved with the C++ language, CppNow provides an indepth and technical content provided by the best and brightest C++ experts of the C++ world.
Annual CppNow Conference - cppnow.org
linkedin.com/company/cppnow
twitter.com/cppnow
facebook.com/CppNow
reddit.com/r/CppNow
https://mastodon.social/@cppnow
think-cell develops one of the world’s leading PowerPoint applications, with C++ at the core of everything we build, from layout algorithms to deep integration with Microsoft Office. Interested in working on challenging C++ problems with real-world impact? Explore our open roles: think-cell.com/en/career/tech
---
Videos Filmed & Edited By Bash Films: bashfilms.com
YouTube Channel Managed & Optimized By Digital Medium Ltd: events.digital-medium.co.uk
---
#boost #cpp #api #cppprogramming #cplusplusprogramming



![Techniques for Declarative Programming in C++ - Richard Powell - C++Now 2025
https://www.cppnow.org
Techniques for Declarative Programming in C++ - Richard Powell - C++Now 2025
Declarative programming is the technique of saying “what you want” instead of “how to do”. This talk walks through the lessons and learnings I encountered when developing wxUI, a C++ Declarative UI library built on top of wxWidgets. This talk is not about creating GUIs in C++, but instead breaks down techniques for how to use C++ techniques to give structure and clarity to your code. We will explore using many advanced techniques like CRTP, expression templates, and [insert the C++ buzzword of the week here] to create flexible libraries to convert imperative programming to declarative programming.
Slides: https://github.com/boostcon/cppnow_presentations_2025/blob/main/Presentations/Techniques_For_Declarative_Programming.pdf
think-cell develops one of the world’s leading PowerPoint applications, with C++ at the core of everything we build, from layout algorithms to deep integration with Microsoft Office. Interested in working on challenging C++ problems with real-world impact? Explore our open roles: https://www.think-cell.com/en/career/tech
Richard Powell
Richard Powell began using C++ 20 years ago to develop a psychoacoustic audio encoder/decoder, and has since continued exploring how to create software that unlocks the potential of hardware to deliver incredible audio experiences. He enjoys both teaching and learning about C++ and programming, and has presented several talks at CppCon as well as at local Bay Area C++ user groups. Beyond computers, Richard plays both the trombone and piano (though not usually at the same time) and performs jazz and classical music at local events.
C++Now 2026 - 4th May - 8th May
C++Now is an annual onsite international C++ programming and coding conference held in Aspen, Colarado. For all C++ developers, C++ software engineers and those involved with the C++ language, CppNow provides an indepth and technical content provided by the best and brightest C++ experts of the C++ world.
Annual CppNow Conference - https://www.cppnow.org
https://www.linkedin.com/company/cppnow
https://twitter.com/cppnow
https://www.facebook.com/CppNow
https://www.reddit.com/r/CppNow
https://mastodon.social/@cppnow
Video Sponsors: think-cell and Bloomberg
Videos Filmed & Edited By Bash Films: https://bashfilms.com/
YouTube Channel Managed & Optimized By Digital Medium Ltd: https://events.digital-medium.co.uk
#boost #cpp #cplusplus #programming #coding #softwareengineering #softwaredeveloper #code #cplusplusprogramming #cplusplustutorial #cplus #softwaredevelopment #coder #talk Techniques for Declarative Programming in C++ - Richard Powell - C++Now 2025](https://i.ytimg.com/vi/zyz0IUc5po4/mqdefault.jpg)