CppCon 2015: Sean Parent "Better Code: Data Structures"
Why Hacker News recommends it
Commenters say it changes how you think about types and the STL, and makes a case for simple modern C++.
What it is
Sean Parent's CppCon 2015 talk on better use of standard containers and the goal of having no incidental data structures. It argues that proper containers can greatly simplify code.
Recommended by 3 HN commenters across 3 different months, 2016 to 2021.
What Hacker News said
Strong rec halayli · 2020-09 · on “Type Systems Explained with Examples”
If anyone is interested in Type systems and what's a type, I highly recommend watching the first 20 mins of Sean Parent's presentation: [this video] It will change the way you think about types after this.
Strong rec olvy0 · 2021-10 · on “Ask HN: Programming talks that made something click for you?”
Sean Parent "Better Code: Data Structures" (2015): [this video] I've been programming in C++ and using the STL for many years but this one really made me aware of what just might be the best way to think about it.
Recommends e12e · 2016-05 · on “Why I don't spend time with Modern C++ anymore”
I've been spending a few days going through talks from last years cppcon[1]. They're all good, but they've all left me with a strong desire for a strongly opinionated, there-is-no-past-only-the-future introduction to C++14 (and incidentally, C11). I've added a few of those talks I've watched and liked to a small playlist (with a couple of other talks on programming, unrelated - the relevant talks are prefixed with "cppcon 2015"): [LINK] The full cppcon playlist is here: [LINK] Of special relevance is the rather excellent talk by Kate Gregory on "Stop Teaching C" (when you're supposed to do an intro course to C++): "CppCon 2015: Kate Gregory “Stop Teaching C"": [LINK] (But again, I want an op
Cites ttctciyf · 2019-09 · on “Tree traversal without recursion: the tree as a state machine (2007)”
Reminds me of Sean Parent's recounting[1] of how his son's beads and string toy could represent a tree data structure with stateless traversal and some other interesting properties, like: > ...to erase elements from some point in my model to some other point in my model, what I do is grab those two locations on the string, and I pick the whole thing up, and the beads that fall off are the ones that get erased ... (48:41) 1: [this video]