hackertube.io

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

cpponsea · talk · Watch on YouTube

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

  1. “Interesting talk on if/else/return and cognitive load when reading code.”

    kbenson, 2021-04 · Recommendation · in “Using the switch(true) pattern in JavaScript”

  2. “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