"Clean" Code, Horrible Performance
What it is
Casey Muratori shows how typical 'clean code' object-oriented patterns can cost large factors in performance. He benchmarks them against simpler data-oriented code.
Why Hacker News recommends it
A frequent citation in debates about SOLID and Clean Code, representing the performance-first side of the argument.
- 3 people recommended it
- 5 different months
- 0 strong recommendations
- first 2023, last 2026
What HN commenters said
“Casey Muratori has a number of talks well worth listening to”
Talks by Casey Muratori on data-oriented design
GuestHNUser, 2023-11 · Recommendation · in “Ask HN: Learning new coding patterns – how to start?”
“Look at Casey Murrey's Clean Code horrible performance youtube video”
Shows clean code hurting performance and readability
xiphias2, 2024-08 · Recommendation · in “Ask HN: What books should I read to improve as a software engineer?”
“You may enjoy”
Casey Muratori on clean code costs
latexr, 2025-03 · Recommendation · in “Ask HN: Is Clean Code a waste of time?”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: casey muratori, clean code, solid, data-oriented design, optimization
Also recommended by the same people
talkRustLatam 2019 - Without Boats: Zero-Cost Async IORust Programming Language · 5 HN recommenders · 2019–2020
talkRust's Journey to Async/AwaitInfoQ · 5 HN recommenders · 2020–2026
lectureClean Code - Uncle Bob / Lesson 1UnityCoin · 6 HN recommenders · 2020–2026
explainer30 Weird Chess Algorithms: Elo Worldsuckerpinch · 8 HN recommenders · 2019–2026
talkReverse emulating the NES to give it SUPER POWERS!suckerpinch · 12 HN recommenders · 2018–2025
lectureThe Only Unbreakable LawMolly Rocket · 12 HN recommenders · 2022–2026
comedyBill Hicks on MarketingTyrell Edwards · 2 HN recommenders · 2018–2023
commentaryContrepreneurs: The Mikkelsen TwinsFolding Ideas · 10 HN recommenders · 2022–2026