Skip to content
HHackerTube.videoSurprise me

C++ Seasoning

C++ Seasoning on HackerTube: recommended by 3 Hacker News commenters across 3 separate months, 2018–2022.

aghuttun

talk · intermediate · evergreen

Open on YouTube

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 Hacker News recommends it

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

people recommended it
3
separate months
3
strong recommendations
1
discussed on HN
2018–2022
“This one in particular is very enlightening”
— Suncho, Apr 2018, in “Ask HN: What is the best Modern C++ MOOC?”

What HN commenters said

3 Hacker News comments link this video. Each one links back to its thread.

SunchoApr 2018Strongly recommends

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 Programming: [link] If you prefer video lectures, his second book is based off his lecture series Four (three) Algorithmic Journeys: [link] [link] [link] [link] It's a combination of history and math/algorithms and programming (using C++). If you're just looking for a straight intro to C++ course this isn't it. But it's a ton of fun and the generic programming/STL mindset is very powerful. Programming Conversations is another great lecture series by Alexander Stepanov: [link] I would also recommend searching YouTube for videos by Sean Parent. This one in particular is very enlightening: ▶ this video Sean Parent is very good at getting you in the STL mindset and showing off the expressive power of using the standard STL algorithms in your code. Except in the simplest cases, you should try to use them instead of writing your own loops. Here are some random tips if you're coming from C or Java: "new" is not the way to create objects in C++. new and delete should almost never be used by serious programmers in C++. Never use new and delete (or malloc and free). If you want a dynamically-allocate

in “Ask HN: What is the best Modern C++ MOOC?” · View on HN

einpoklumAug 2022Recommends

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: ▶ this video

in “Show HN: State-of-the-art German speech recognition in 284 lines of C++” · View on HN

matthewaveryusaNov 2021Recommends

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. ▶ this video

in “Loopless Code (2006)” · View on HN

Topics & tags

C, C++, Rust, Go & systems languagesSoftware architecture & designc++stl algorithmsno raw loopssean parentgoingnative