C++ Seasoning

Channel:aghuttun · Length:1:17:12 · Published:2013-09-16 · Views:58465

Watch on YouTube

Summary

Sean Parent's GoingNative 2013 talk surveys new and overlooked C++ features and shows how to use them for simple, correct, clear code. It stresses using standard algorithms rather than raw loops.

Why HN recommends it

Recommended whenever the STL mindset or avoiding raw loops in C++ comes up, as an enlightening talk on expressive algorithms.

This one in particular is very enlightening — HN, 2018

C, C++, Rust, Go & systems languages · Software architecture & design

Subtitles (excerpt)

All right. So, hope you enjoyed the little break and of course Bjanna's talk. Thanks for the questions. We'll get to more questions later, probably tomorrow for the people that are watching online. We have your questions. They're excellent. Keep them coming. Um, as I said, we'll prioritize the people in the room since they're actually here. Um, but we try to get to your questions as soon as we can. Right now, we want to move into more of the implementers series. We had the nice designers talk. Um, Sean Parent is a principal scientist at Adobe. It also happens that uh he was Alex Steanov's boss for five years. Please welcome Sean Parent. So uh uh Herb and Charles asked me to give this talk and we went through some negotiations about what I should present. um settled on taking a a collection of tips from a mailing list that I post to at Adobe from time to time. I usually call them programming tips and they're randomly numbered. So every time I send one out, I get a half dozen emails saying, "Hey, I missed number blank." Um which is all always great. So, but as I started to structure this talk, it was turning more and more into a Scott Meyers style talk of of, you know, effective C++. And I didn't quite want to do that.

On Hacker News

Yes! Alexander Stepanov is fantastic. He's the designer of the Standard Template Library (STL) for C++, which is C++'s core library of generic algorithms. It's part of the standard libary. If you can understand how to use the STL properly, you're well on your way to becoming a profiicent C++ programmer. His books are fantastic too. Elements of Programming: [LINK] and From Mathematics to Generic P… — Suncho, 2018-04
It was a cute gimmick for the title, nm. But you should try to avoid raw loops in favor of established iteration patterns / standard library algorithms. I found this talk on the subject by Sean Parent to be educational: [VIDEO] — einpoklum, 2022-08
Sean Parent has a good talk about no loops in C++. His primary argument is that typically a loop is an algorithm you’re applying (map, filter, reduce…) and the raw loop masks the algorithm. [VIDEO] — matthewaveryusa, 2021-11

Related videos