HackerTube

THE VIDEO SHELF · structured programming

The Forgotten Art of Structured Programming - Kevlin Henney [C++ on Sea 2019]

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 HN readers recommended it

HN commenters point to it in discussions of goto, early returns and cognitive load when reading code.

This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.

Video & recommendation details

Creator / channel
cpponsea
Topic
structured programming
Format
talk
Level
intermediate
HN recommenders in dataset
2
HN mentions in dataset
3
Recommendation years in dataset
2021–2022

These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.

From the original HN conversations

Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.

  • If you haven't seen it, Kevlin Henney's talk about "The Forgotten Art of Structured Programming"[1] is interesting (if somewhat long in the examples later), and somewhat related. It's not specifically about return early (and a case could be made that it should or should not …

    kbenson on Hacker News · 2021-04
    In Using the switch(true) pattern in JavaScript
  • I get that, but the comment was specifically about pointers (not gotos or structure), and is interesting in general from a historical perspective. The "goto" keyword is similarly dangerous. I've seen very good arguments for leaving it out, and generally poor arguments for keeping it …

    jiggawatts on Hacker News · 2021-07
    In Linux: Using goto In Kernel Code (2003)

Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.