ADSP: Algorithms + Data Structures = Programs · Conor Hoekstra, Bryce Adelstein Lelbach & Ben Deane
In this episode, Conor and Ben chat about the design of APIs, UIs & algorithms! Link to Episode 298 on Website Discuss this episode, leave a comment, or ask a question (on GitHub) Socials ADSP: The Podcast: Twitter Conor Hoekstra: LinkTree / Bio Ben Deane: Twitter | BlueSky Show Notes Date Recorded: 2026-07-22 Date Released: 2026-08-07 C++Now 2018: Ben Deane “Easy to Use, Hard to Misuse: Declarative Style in C++” NDC Toronto UI talk The Design of Everyday Things About Face: The Essentials of Interaction Design User Interface Design For Programmers Just My Type The Elements of Typographic Style Intro Song Info Miss You by Sarah Jansen https://soundcloud.com/sarahjansenmusic Creative Commons — Attribution 3.0 Unported — CC BY 3.0 Free Download / Stream: http://bit.ly/l-miss-you Music promoted by Audio Library https://youtu.be/iYYxnasvfx8
0:00Benin designing these APIs for the algorithmic work and the algorithms need to fit together, right?
0:07BenAnd need to fit together well and you want people who are using who's you want people using your code to when they try the obvious thing, you want it to work and you want it to work well with good performance, with good composability.
0:24BenAnd conversely when they try, you know you want you want the easy things to be easy and the the slightly more esoteric things to be possible, but you don't want the dangerous things to be easy.
0:36ConorYou don't want them to accident to do something which looks fine but falls off of off a performance cliff Welcome to ADSP the podcast episode 298 recorded on July 22nd 2026.
0:59ConorMy name is Connor and today with my co-host Ben we chat about the design of APIs, UIs, algorithms and more we should talk in future because you work on algorithm libraries, right?
1:18BenYou still work on that?
1:18BenYeah yeah in some way I don't know which variant of that you work on right now but so we should talk about the design of the APIs for those kind of things because most of what I a lot of what I do these days is API design and I I look at the code my team is writing you know just to just to bring this back to what the podcasting theory is about I I look at the code my team is writing and I see where they are having difficulties issues.
1:50BenSometimes they don't even know they're having them right because because they know how to do C they know how this works they don't see that this can work a an easier way or a different way that would make it mesh better with something else.
2:02BenThings like that in the particularly in the realm of like and these are like sometimes small small API things.
2:07BenAnd I'm wondering if you know you have the same experience in designing these APIs for the algorithmic work and the algorithms need to fit together right and need to fit together well and you want people who are using who you want people using your code to when they try the obvious thing you want it to work and you want it to work well with good performance with good composability and conversely when they try you know you want you want the easy things to be easy and the the slightly more esoteric things to be possible but you don't want the dangerous things to be easy.
2:48BenYou don't want them to accident to do something which looks fine but falls off of off a performance cliff right things like that.
2:55BenSo I'm wondering how much of that you do in your day to day.
2:59ConorYeah we definitely maybe that's where the next time we record we should talk about just design in general because it's interesting as soon as you started talking about API design it made me think about your talk title easy to use hard to misuse and right that's not my title that's Scott Myers but well I mean you borrowed it and I mean there's a title for one of my talks but I I didn't originate that term.
3:23ConorI have been doing a ton of outside of uh my day job like app design and UX design and I've started I've started to realize that like and I and also on top of that like I what there was a talk that probably the most the best talk that I saw at NDC Toronto back in a couple months ago was a UX talk.
3:44ConorWe might have even mentioned it on a past podcast.
More ADSP: Algorithms + Data Structures = Programs episodes →