HackerTubewatch
Surprise me
Frame from RailsConf 2014 - All the Little Things by Sandi Metz Plays via YouTube's privacy-enhanced embed

RailsConf 2014 - All the Little Things by Sandi Metz

24 videos recommended on HN
YouTube
15 HN users recommended this talk15 months2015–2025 score 18.5
Years with an HN recommendation, 2007–2026

HN treats it as a top-tier programming talk for learning refactoring and for the wrong-abstraction principle, recommended repeatedly over a decade.

Sandi Metz takes an ugly section of conditional code and refactors it into a few simple objects, bridging object-oriented theory and practice. The talk includes her take on the Gilded Rose refactoring kata and the idea that duplication is cheaper than the wrong abstraction.

“this talk captures all the important values in a single example.” (HN, 2016)

7 strong recommendations · 8 recommendations · 5 citations · Talks · intermediate

20 Hacker News comments

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

@mbesto Apr 2015 Strongly recommends
on HN thread Refactoring: How do I even start?
Sandi Metz talk "All the Little Things"[0] is amazing for understanding the general concepts around refactoring OOP code. It's ruby centric, but the concepts are applicable to all OOP languages. The most interesting part is the fact that during the refactoring process you should actually increase the amount of code and complexity to eventually consolidate and aggregate it down. This as opposed to simply trying to delete/mutate code. [0] - [this video]
Refactoring OOP code by first adding structure, then consolidating
@hire_charts Feb 2016 Strongly recommends
on HN thread Rich Hickey Fanclub
That and Hammock Driven Development: [link] Both of these talks are in my top 5. Edit (okay, here are the other 3): * All the Little Things by Sandi Metz [this video] * Programming is terrible—Lessons learned from a life wasted. [link] * Some talk I saw by Dan McKinley on making Data-Driven decisions. I can't find the original video, but here's a really similar one: [link]
Listed among the commenter's top five talks
@tinco Dec 2016 Strongly recommends
on HN thread Talks that changed the way I think about programming
Read more
These talks are a little skewed to the game/high performance programming side of the art, but still very interesting in general. Of the ones I've already seen I really like Mike Acton's talk. Since this has become such a nice thread some additions I'd add: * Sandi Metz going through the Gilded Rose or "All the small things" [this video] I already subscribed to her programming style and the general Ruby TDD/BDD movement, but this talk captures all the important values in a single example. I think it made my programming style no longer based on vague things like experience or intuition, but just on concrete merit shown in this talk. * Matthew Brecknell demonstrating Hole Driven Development [link] The programming style demonstrated in this video is a real mind bender. I think most Haskell programmers use a weaker version of this, Matthew takes it to the extreme. I didn't adapt this style, I don't think it's practical, but it's the sort of thing that some person someday will incorporate in some more comfortable way in a new language or platform as a revolutionary feature.
Concrete example shaping programming style beyond intuition
@da_murvel Oct 2018 Strongly recommends
on HN thread Ask HN: What are some of the best technical talks you've heard?
Define "technical". But when it comes to programming I always enjoy Sandi Metz's talks. I can highly recomend this talk she made at the RailsConf in 2014, about taking an ugly beast of code and turning it to something more digestable and beautiful [this video]
Turning an ugly beast of code into something beautiful
@chrischattin Jan 2019 Strongly recommends
on HN thread Confessions of an Abstraction Hater
I'm a huge proponent of this concept. The goal is to be able to build and iterate as fast as possible. Most of this is achieved when new folks can step in and understand the code right away. Needless abstraction slows this down and makes the app more brittle to changes in response to customer/client inputs. Sandi Metz had an awesome presentation about this during a Rails Conf. "Duplication is far cheaper than wrong abstraction" [this video] Her blog talking more about the assertion: [link]
Why duplication beats the wrong abstraction
@abvdasker Jan 2020 Strongly recommends
on HN thread Goodbye, Clean Code
"Duplication is far cheaper than the wrong abstraction." — Sandi Metz ( [this video] ) This talk by her is one of my favorites ever. Her ideas definitely made me a better programmer.
Talk that improved the commenter's programming
@wilkystyle Aug 2025 Strongly recommends
on HN thread Cognitive load is what matters
One of the many great takeaways from Sandi Metz's talk at Railsconf 2014: "Duplication is far cheaper than the wrong abstraction." [this video] Worth watching in its entirety, but the quote is from ~13:59 in that video.
Duplication versus wrong abstraction, key quote at 13:59
@andrei_says_ Dec 2017 Recommends
on HN thread Ruby 2.5.0 Released
You may enjoy Practical Object Oriented Design with Ruby by Sandi Metz. Speaks about OO software design in very clear and easy to grasp way. I often share it with non-ruby devs because it’s about design much more than it is about ruby. Here are a couple of talks by the author which examplify her style of thinking and approaching problems. [link] [this video]
Talk showing her clear approach to OO design
@d4mi3n Apr 2019 Recommends
on HN thread Programming: Doing it more vs. doing it better
Read more
This line of discussion reminds me of a great quote by Sandi Metz, who's pretty well known in the ruby community for harping on the topic. One thing I saw in a talk of hers that really stuck with me: Repetition is preferable to the wrong abstraction. The first thing that's drilled into a new programmer is DRY. It's easy to understand and it works reasonably well. The next step up seems to be knowing when _not_ to roll stuff up, and how to tell when you're looking at a distinct piece of logic that needs to be reified into it's own entity or function. EDIT: The Sandi Metz talk I mentioned: [this video]
Source of the repetition versus wrong abstraction idea
@adamkl Jul 2020 Recommends
on HN thread The Wrong Abstraction (2016)
Sandi mentions this during a talk she gave on refactoring a few years ago. [0] It’s a great little video for showing junior developers how a messy bit of code can be cleaned up with a few well chosen OOP patterns (and a set of unit tests to cover your ass). [0] [this video]
Shows junior developers how messy code is cleaned up with OOP patterns
@voodootrucker Oct 2020 Recommends
on HN thread Admitting That Functional Programming Can Be Awkward (2007)
Read more
I _really_ struggled to not use contrived examples when teaching OOP. It was very hard because you don't really need it until your application becomes non-trivial so I see why all the college classes use cars & trucks or whatever. I think I ended up going with a Player API with tapes, records, CDs etc. Some could skip, others only fast-forward. I was still unhappy with it, but it was better than most examples. I like to point folks at writing an IntelliJ plugin. I find that some of the best architected OOP programs become nothing but a collection of plugin interfaces and base classes. But you really need to understand "is a" vs "has a", not burn your base class, let architecture emerge following the rule of 3, rather than quickly jumping on the wrong abstraction to fight duplication. Sandi Metz really says it better than I can: [this video]
Explains avoiding wrong abstraction and letting architecture emerge

Citations, criticism and jokes

@mdpopescu May 2019 Cites it
on HN thread Solid Principles: A Software Developer’s Framework to Robust, Maintainable Code
Changing an existing class (modification) is possibly bad, because it can introduce bugs. The code was working, you made a change, oops! Adding a new class (when the code was written to be extensible) should prevent that. See for example [1] where Sandi Metz shows how to rewrite some incredibly complex code to make that possible. [1] [this video]
Rewrites complex code to be extensible without modification
@unscaled Jul 2020 Cites it
on HN thread The Wrong Abstraction (2016)
Read more
I also (want to) understand the article this way, but I think the article is a bit vague about this point. It focuses on Programmer X, who is coming after many iterations of trying to retrofit features into a very wrong abstraction. The article agrees that the abstraction was useful when Programmer A wrote it, but it remains vague about whether Programmer A's judgement was correct at step 2 or 3! I'm not quite sure what Sandi Metz is thinking right now, but the original 2014 talk[1] linked in the article is pretty clear about _keeping the duplication_, and _waiting for the right abstraction_. This statement sounds more in line with the Rule of Three, or the Go proverb 'a little copying is better than a little dependency', which is what people are arguing here. Personally, I believe that any non-trivial duplication should be eliminated at the very first chance, to avoid unintended business logic divergence. I find the later case more risky than having to deal with the wrong abstraction, since - as Sandi eloquently explains here - wrong abstractions can (and should!) be refactored. [1] [this video]
Original talk advocating keeping duplication and waiting for the right abstraction
@davidscolgan Jul 2023 Cites it
on HN thread Factory Factory Factory
Read more
Strongly agree. For me the mark of a useful framework is that is reduces the complexity of the task you are trying to do. If it increases the complexity of the task, it isn't the right tool for the job! Choosing the right level of abstraction is the most important part of software engineering. If all you need is HTTP routing, then Flask is great, but every time I tried to use it for the kinds of things Django is great at (databasing, templating, forms), I had to effectively roll my own crappy version of Django. (Something something every sufficiently large C++ program has a poorly implemented version of LISP embedded into it.) I saw this dramatically demonstrated by an enormous Flask installation that would have greatly benefited from a little imposed structure. I bounced hard from that gig after being shown the code because it was going to be a massive pain to understand the poorly designed abstractions. But it wasn't even the maintainer's fault - it was pretty good code but it had only been designed by one person, both the abstractions and the business logic. And the abstractions were leaky simply because abstractions are difficult to design. The framework allows you to completely offload the architectural decisions underneath the framework to many person-years worth of design, bug squashing, and security fixes. How do I add headers to a request? Django has one opinionated way. Where do I put my database models? models.py and if you put them there you don't have to do any c
@kotlip Jul 2023 Cites it
on HN thread Female Software Engineers and Startup Founders?
Read more
From personal experience, the gender disparity can feel daunting but it gets easier once you start building your network in the industry and getting more experience. In my days as an intern, some of my first mentors were women software engineers with exceptional technical abilities who were indispensable to their teams. Lots of colleges have clubs for women in tech where you can meet and be mentored by other women, and many tech companies have placed a heavy focus on hiring and retaining strong talent from underrepresented groups including women. As for women to look up to, I don't have an exhaustive list but here are a few that come to mind: - Sandi Metz: [this video] - Melanie Perkins, co-founder of Canva - Ella Ehrlich: [link] Also, YC keeps a list of all of their women-founded companies (there are a lot more than you might expect): [link]
Speaker given as a woman in software to look up to

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