The Forgotten Art of Structured Programming - Kevlin Henney [C++ on Sea 2019]
What it is
Kevlin Henney revisits structured programming, from Go To Statement Considered Harmful to block-structured code and object orientation. He argues it still matters for how we write code today.
Why Hacker News recommends it
HN commenters point to it in discussions of goto, early returns and cognitive load when reading code.
- 2 people recommended it
- 2 different months
- 0 strong recommendations
- first 2021, last 2022
What HN commenters said
“Interesting talk on if/else/return and cognitive load when reading code.”
kbenson, 2021-04 · Recommendation · in “Using the switch(true) pattern in JavaScript”
“Good argument for structured programming over goto.”
jiggawatts, 2021-07 · Recommendation · in “Linux: Using goto In Kernel Code (2003)”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: structured programming, goto, code readability, c++, kevlin henney
Also recommended by the same people
talkCppCon 2019: Matt Godbolt “Compiler Explorer: Behind The Scenes”CppCon · 2 HN recommenders · 2021–2025
commentaryTwitter and Visual Studio RantMolly Rocket · 3 HN recommenders · 2020–2026
lectureArithmetic, Population and Energy - a talk by Al BartlettlXlSalemlXl · 6 HN recommenders · 2016–2023
talkCppCon 2016: Nicholas Ormrod “The strange details of std::string at Facebook"CppCon · 4 HN recommenders · 2018–2026
talkLISA11 - Fork Yeah! The Rise and Development of illumosUSENIX · 9 HN recommenders · 2012–2026
explainerHow big is a visible photon?Huygens Optics · 3 HN recommenders · 2021–2025
talkCppCon 2015: Andrei Alexandrescu “std::allocator...”CppCon · 7 HN recommenders · 2017–2025
demoBOLTR: Juicero, Cold Press Juicer for Rich WeirdosAvE · 6 HN recommenders · 2017–2026