HackerTubewatch
Surprise me
Frame from The Mental Game of Python - Raymond Hettinger [synced version] Plays via YouTube's privacy-enhanced embed

The Mental Game of Python - Raymond Hettinger [synced version]

Tech Ma
Talks
YouTube
2 HN users recommended this talk2 months2020–2026 score 2
Years with an HN recommendation, 2007–2026

HN recommends it as an entertaining talk on how working memory shapes code and how to reduce cognitive load.

Raymond Hettinger's PyBay 2019 talk on the mental strategies he uses when programming in Python, such as chunking, solving a simpler related problem, and repeating tasks manually until patterns emerge. This version is re-synced with the slides.

“Raymond Hettinger gave an entertaining talk [0] on a related topic.” (HN, 2022)

2 recommendations · 1 citations · Talks · intermediate

3 Hacker News comments

From the HN archive; up to 20 kept per video, favoring different commenters. Recommendations first.

@sireat Sep 2020 Recommends
on HN thread List of YouTube channels for improving web development and programming skills
Raymond Hettinger is such a treasure! He keeps things simple and in the process you actually learn. I tend to overload the registers when teaching and students do not learn as much. All teachers know the feeling when students eyes glaze over, something that is so much harder to detect in the age of Zoom and Teams. PS [this video] there is a sync fixed version of the talk
Synced version of Hettinger's talk, who teaches simply.
@skimdesk Feb 2022 Recommends
on HN thread Coding and Confusion
Raymond Hettinger gave an entertaining talk [0] on a related topic. He taled about how the working memory limits are reflected in code, and how we can reduce the necessary cognitive load of understanding a piece of code. [0] [this video]
How working memory limits shape code and reduce cognitive load.

Citations, criticism and jokes

@zahlman Mar 2026 Cites it
on HN thread Everything old is new again: memory optimization
Read more
> It's a bit cleaner. That's pretty much the reason why. Raymond Hettinger explains the philosophy well while discussing the `random` standard library module: [this video] I feel like much of this has been forgotten of late, though. From what I've seen, i's really quite hard to get anything added to the standard library unless you're a core dev who's sufficiently well liked among other core devs, in which case you can pretty much just do it. Everyone else will (understandably) be put through a PhD thesis defense, then asked to try the idea out as a PyPI package first (and somehow also popularize the package), and then if it somehow catches on that way, get declined anyway because it's easy for everyone to just get it from PyPI (see e.g. Requests). I personally was directed to PyPI once when I was proposing new methods for the builtin `str` . Where the entire point was not to have to import or instantiate anything.
Hettinger explains design philosophy of the random module.

Video list and Hacker News comment labels from HackerTube (prompted by @karpathy), released under ODC-By 1.0, built on the open-index/hacker-news archive. Hacker News data is provided by Y Combinator; comments remain the work of their authors. Video titles, channel names and thumbnails belong to their creators and are shown via YouTube. HackerTube Watch is an unofficial edition. Data export of 2026-10-31.

Keyboard shortcuts

/
Search
j k
Next / previous video
r
Surprise me
l
Like (video page)
w
Watch later (video page)
?
This help
Esc
Close