HackerTubewatch
Surprise me
Frame from A Possible Future of Software Development Plays via YouTube's privacy-enhanced embed

A Possible Future of Software Development

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

Frequently cited for the claim that Photoshop's codebase could shrink dramatically with generic programming.

Sean Parent of Adobe argues that object-oriented frameworks ultimately fail to deliver scalable, high quality software and proposes combining generic and declarative programming instead. It draws on Stepanov's Elements of Programming.

“Watch this Sean Parent video” (HN, 2017)

2 recommendations · 5 citations · Talks · advanced

7 Hacker News comments

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

@wwweston Sep 2013 Recommends
on HN thread Edward C++Hands
Read more
"Ask any C++ guru and they will tell you: avoid mutation, avoid side effects, don’t use loops, avoid class hierarchies and inheritance. But you will need strict discipline and total control over your collaborators to pull that off because C++ is so permissive. "Haskell is not permissive, it won’t let you — or your coworkers — write unsafe code. Yes, initially you’ll be scratching your head trying to implement something in Haskell that you could hack in C++ in 10 minutes. If you’re lucky, and you work for Sean Parent or other exceptional programmer, he will code review your hacks and show you how not to program in C++." For those who aren't familiar with Parent, watch this talk: [this video] which introduced me to Stepanov's "Elements of Programming" and the idea that I could be working with better/more reliable/provable abstractions in C++. That said... after a few weeks of shallowly digesting the material, I started thinking pretty much like Milewski says above: it's great if I can learn to write better C++, but if what I really want is to escape from its specific dangers and general common programming pitfalls, something like Haskell seems like a better bet.
Introduced Stepanov's Elements of Programming and better abstractions in C++.
@adamnemecek Aug 2017 Recommends
on HN thread App sizes are out of control
They make code reuse possible. Watch this Sean Parent video [this video] where he estimates that if Photoshop was rewritten using generics, the code size would go from 3,000,000 LOC to 30,000 LOC. You are right, during compilation, generics are specialized so you end up with code, however going all in on generics removes a lot of accidental complexity.
Sean Parent on how generics could shrink Photoshop's codebase.

Citations, criticism and jokes

@agumonkey Jan 2012 Cites it
on HN thread A Programming Idiom You've Never Heard Of
Turns out I greatly exagerated my memories (sic), he was mentionning equivalence relation using c++ concepts then went into constraint/dependant interactive input. [link] page 18, 38 this was hosted at googletechtalks [this video] (240p)
Neutral citation of a Google TechTalk with timing details.
@adamnemecek Dec 2016 Cites it
on HN thread What Is Abstract Algebra? [video]
Read more
If you are curious how does Abstract Algebra relate to software engineering, this book might be of your interest [link] The main selling point of this approach is that it can cut out a lot of code In this talk, Sean Parent, at that time working on Adobe Photoshop, estimated that the PS codebase could be reduced from 3,000,000 LOC to 30,000 LOC (=100x!!) if they followed ideas from the book [this video] Another point of his is that the explosion of written code we are seeing isn't sustainable and that so much of this code is algorithms or data structures with overlapping functionalities. As the codebases grow, and these functionalities diverge even further, pulling the reigns in on the chaos becomes gradually impossible. Bjarne Stroustrup (aka the C++ OG) gave this book five stars on Amazon (in what is his one and only Amazon product review lol). [link]
Cited for estimate that Photoshop code could shrink 100x.
@adamnemecek Jan 2017 Cites it
on HN thread Ask HN: What's the best computer science book you've read recently?
Read more
I'll give you a couple. Note that some of these are rehashes of my earlier comments. # Elements of Programming [link] This book proposes how to write C++-ish code in a mathematical way that makes all your code terse. In this talk, Sean Parent, at that time working on Adobe Photoshop, estimated that the PS codebase could be reduced from 3,000,000 LOC to 30,000 LOC (=100x!!) if they followed ideas from the book [this video] Another point of his is that the explosion of written code we are seeing isn't sustainable and that so much of this code is algorithms or data structures with overlapping functionalities. As the codebases grow, and these functionalities diverge even further, pulling the reigns in on the chaos becomes gradually impossible. Bjarne Stroustrup (aka the C++ OG) gave this book five stars on Amazon (in what is his one and only Amazon product review lol). This style might become dominant because it's only really possible in modern successors of C++ such as Swift or Rust, not so much in C++ itself. [link] # Grammar of graphics [link] This book changed my perception of creativity, aesthetics and mathematics and their relationships. Fundamentally, the book provides all the diverse tools to give you confidence that your graphics are mathematically sound and visually pleasing. After reading this, Tufte just doesn't cut it anymore. It's such a weird book because it talks about topics as disparate Bayesian rule, OOP, color theory, SQL, chaotic models of time (lolwut), style-she
Cited in book recommendation for Photoshop code reduction estimate.
@adamnemecek Jan 2017 Cites it
on HN thread Ask HN: Are we overcomplicating software development?
Read more
There's this book that I've been mentioning around here called Elements of Programming [link] that makes exactly this claim, that we are writing too much code. It proposes how to write C++-ish (it's an extremely minimal subset of C++ proper) code in a mathematical way that makes all your code terse. In this talk, Sean Parent, at that time working on Adobe Photoshop, estimated that the PS codebase could be reduced from 3,000,000 LOC to 30,000 LOC (=100x!!) if they followed ideas from the book [this video] Another point of his is that the explosion of written code we are seeing isn't sustainable and that so much of this code is algorithms or data structures with overlapping functionalities. As the codebases grow, and these functionalities diverge even further, pulling the reigns in on the chaos becomes gradually impossible. Bjarne Stroustrup (aka the C++ OG) gave this book five stars on Amazon (in what is his one and only Amazon product review lol). [link] This style might become dominant because it's only really possible in modern successors of C++ such as Swift or Rust that have both "direct" access to memory and type classes/traits/protocols, not so much in C++ itself (unless debugging C++ template errors is your thing).
Supports claim that we write too much code.
@adamnemecek Jul 2019 Cites it
on HN thread Elements of Programming (2009)
This book is really good, really dense but the ideas have inspired a generation. In this video, Sean Parent, at the time working at Adobe on Photoshop, estimated that if PS codebase followed ideas from this book, the codebase could be reduced from 3,000,000 LOC to 30,000 LOC. [this video]
Cited for Photoshop code size estimate from the book's ideas.

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