C++ Seasoning
Channel:aghuttun · Length:1:17:12 · Published:2013-09-16 · Views:58465
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
- Greg Young - CQRS and Event Sourcing - Code on the Beach 2014 · Code on the Beach · 1:03:48
- CppCon 2016: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17” · CppCon · 1:19:52
- CppCon 2015: Andrei Alexandrescu “std::allocator...” · CppCon · 1:12:27
- RailsConf 2014 - All the Little Things by Sandi Metz · Confreaks · 38:47
- "Simple Made Easy" - Rich Hickey (2011) · Strange Loop Conference · 1:01:38
- "Making Impossible States Impossible" by Richard Feldman · elm-conf · 25:06
- Lexical Scanning in Go - Rob Pike · GoogleFOSSSydney · 51:17
- How To Design A Good API and Why it Matters · Google TechTalks · 1:00:19
- The Value of Values with Rich Hickey · InfoQ · 31:43
- Overwatch Gameplay Architecture and Netcode · GDC Festival of Gaming · 1:04:03
- Solving Problems the Clojure Way - Rafal Dittwald · Clojure/north · 1:02:26
- Lecture 1A: Overview and Introduction to Lisp · MIT OpenCourseWare · 1:12:55
- Alan Kay - Normal Considered Harmful · powerfuloutlet · 1:07:26
- A Philosophy of Software Design | John Ousterhout | Talks at Google · Talks at Google · 1:01:40
- "Uncle" Bob Martin - "The Future of Programming" · Paul Stringer's Mobile Tech · 1:18:21
- CppCon 2017: Matt Kulukundis “Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step” · CppCon · 59:33