HackerTubewatch
Surprise me
Frame from Three Beautiful Quicksorts Plays via YouTube's privacy-enhanced embed

Three Beautiful Quicksorts

56 videos recommended on HN
YouTube
2 HN users recommended this talk2 months2010–2023 score 2
Years with an HN recommendation, 2007–2026

HN commenters point to it as programming inspiration and as a source of Bentley's anecdotes about adding function by deleting code.

Jon Bentley walks through three implementations of Hoare's Quicksort, from a dozen-line C function to a series of systematic code transformations that make the program ever simpler and more powerful. It is a Google Tech Talk on code elegance and program derivation.

“If you're looking for programming inspiration I love these videos” (HN, 2023)

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.

@tonym128 Aug 2023 Recommends
on HN thread Ask HN: Where do I find good code to read?
I'm sorry these are videos, but your question made me think of these. If you're looking for programming inspiration I love these videos Jon Bentley - Three Beautiful Quicksorts [this video] Bret Victor - Inventing on Principle [link]
Programming inspiration through beautiful quicksort implementations

Citations, criticism and jokes

@ehsanul Feb 2010 Cites it
on HN thread -2000 Lines Of Code
I'm reminded of this Google Tech Talk, where the speaker (Jon Bentley) refers to a colleague's praise of someone who "adds function by deleting code": [this video] Edit: Fixed quote
Bentley quoting praise for adding function by deleting code

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