Good videos, with context.
RailsConf 2015 - Nothing is Something

RailsConf 2015 - Nothing is Something

Confreaks
3 HN recommenders · discussed 2016–2024
Open YouTube ↗

About this video

Sandi Metz argues that hidden assumptions in code are missing concepts, and shows how to name and expose them so code is easier to understand and change. It covers null objects and messages in Ruby.

Why it appears in the archive

HN recommends it as a funny, smart and well-constructed talk on abstraction, duplication and object-oriented design.

AI-generated summary and labels from the source dataset; verify important details against the video. Source & credits.

From the Hacker News discussion

buren · 2016-02 · strong rec

Couldn't agree more. Sandi Metz has an excellent talk touching on this topic. Developers exaggerated willingness to keep things DRY and elaborates a bit on why: it's one of the easiest things for a not-so-experienced developer to identify and one of the easiest things to teach. Edit: One of the best quotes from that talk is (paraphrased): "The wrong abstraction is a lot more expensive than duplicated code". [VIDEO]

Read original comment ↗
crabmusket · 2024-11 · strong rec

I'd like to mention that despite OOP being in the title, I thought this book had a lot to teach that isn't specific to OOP architecture or OOP languages. Really, I think the star of the show is TDD and refactoring. For a short intro to Sandi's style and approach, I always recommend this 35min talk: [VIDEO] Aside from any specifically educational content, as a talk it is fantastic - funny, smart, well put together.

Read original comment ↗
newtscamander · 2017-01 · rec

The premise is the introduction is wrong. "so before we have written a single program in our language, before we know whether shared behaviour will be important in the applications that will be written in it" read the POODR book, or watch this [VIDEO] it explains how shared behavior works without code duplication and why people tend to mess it up.

Read original comment ↗
profalseidol · 2019-03 · reference

Here's one talk about 'message' in Ruby: RailsConf 2015 - Nothing is Something [VIDEO] But to me, this simply looks like Functional Programming done in an OOP mess.

Read original comment ↗
ValentinTrinque · 2024-03 · reference

You do have another solution that can lower the amount of conditions: Null Objects. These don’t fit every use cases, but they can allow you to express what’s missing, or not defined, or empty, and avoid nil pointers dereference or conditions to check the state. As Sandy Metz is used to say « Nothing is Something »[0] 0: [VIDEO]

Read original comment ↗