RailsConf 2015 - Nothing is Something
Channel:Confreaks · Length:35:53 · Published:2015-04-30 · Views:84433
Summary
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 HN recommends it
HN recommends it as a funny, smart and well-constructed talk on abstraction, duplication and object-oriented design.
as a talk it is fantastic - funny, smart, well put together. — HN, 2024
Python, Ruby & scripting languages · Software architecture & design
Subtitles (excerpt)
[Music] thank you for coming I'm Sandy Mets I um I was a programmer for 35 years I'm a woman woman of a certain age I I really am I wrote a book a couple years ago when it came out it was like a bomb went off in my life and I had to quit my day job I was so busy doing other things and because I quit my my day job I needed a way to make a living and people kept asking me to teach so I finally broke down and agreed to teach to teach short uh object orning design classes and so then I had to make up curriculum boy that was hard curriculum is tough and so I sat down and I uh figured out what I thought were the most important set of lessons I could teach in three really intense days and when I did that when I made up the curriculum I thought that they were all unrelated I thought they were completely unrelated lessons good things yes but not the same thing and then i' I've been teaching that course for the last year and a half and I finally realized after uh since now actually now my job is to think about code what a wonderful thing at this sort of advanced stage in my career I'm not driven by uh deadline pressures every day I really get to reflect about what makes code good and how we can make good code and how to explain to people what what
On Hacker News
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, … — crabmusket, 2024-11
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 duplic… — buren, 2016-02
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. — newtscamander, 2017-01
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] — ValentinTrinque, 2024-03
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. — profalseidol, 2019-03
Related videos
- Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · Confreaks · 53:21
- The spelled-out intro to neural networks and backpropagation: building micrograd · Andrej Karpathy · 2:25:52
- How Python was Shaped by leaky Internals, Armin Ronacher, Flask framework · Видео с мероприятий {speach! · 49:55
- RailsConf 2014 - All the Little Things by Sandi Metz · Confreaks · 38:47
- "Simple Made Easy" - Rich Hickey (2011) · Strange Loop Conference · 1:01:38
- What the heck is the event loop anyway? | Philip Roberts | JSConf EU · JSConf · 26:52
- "Making Impossible States Impossible" by Richard Feldman · elm-conf · 25:06
- How To Design A Good API and Why it Matters · Google TechTalks · 1:00:19
- The Problem with Time & Timezones - Computerphile · Computerphile · 10:12
- The Value of Values with Rich Hickey · InfoQ · 31:43
- Overwatch Gameplay Architecture and Netcode · GDC Festival of Gaming · 1:04:03
- Solving Problems the Clojure Way - Rafal Dittwald · Clojure/north · 1:02:26
- Lecture 1A: Overview and Introduction to Lisp · MIT OpenCourseWare · 1:12:55
- Alan Kay - Normal Considered Harmful · powerfuloutlet · 1:07:26
- RailsConf 2016 - Turbolinks 5: I Can’t Believe It’s Not Native! by Sam Stephenson · Confreaks · 37:37
- A Philosophy of Software Design | John Ousterhout | Talks at Google · Talks at Google · 1:01:40