HN Theater @HNTheaterMonth

The best talks and videos of Hacker News.

Hacker News Comments on
RailsConf 2015 - Nothing is Something

Confreaks · Youtube · 2 HN points · 6 HN comments
HN Theater has aggregated all Hacker News stories and comments that mention Confreaks's video "RailsConf 2015 - Nothing is Something".
Youtube Summary
By, Sandi Metz
Our code is full of hidden assumptions, things that seem like nothing, secrets that we did not name and thus cannot see. These secrets represent missing concepts and this talk shows you how to expose those concepts with code that is easy to understand, change and extend. Being explicit about hidden ideas makes your code simpler, your apps clearer and your life better. Even very small ideas matter. Everything, even nothing, is something.

Help us caption & translate this video!

http://amara.org/v/G6rJ/
HN Theater Rankings

Hacker News Stories and Comments

All the comments and stories posted to Hacker News that reference this video.
Aug 03, 2019 · jmchuster on What Is Null? (2010)
Great talk by Sandi Metz on the topic - Nothing is Something https://www.youtube.com/watch?v=OMPfEXIlTVE
Here's one talk about 'message' in Ruby:

RailsConf 2015 - Nothing is Something

https://www.youtube.com/watch?v=OMPfEXIlTVE

But to me, this simply looks like Functional Programming done in an OOP mess.

pjmlp
Smalltalk was also influenced by Lisp work being done at Xerox PARC.

Map, filter, flapmap, lambdas, symbols, are all there.

You can easily do LINQ in Smalltalk-80 without any additional library.

Jun 10, 2017 · 2 points, 1 comments · submitted by mundo
mundo
Absolutely wonderful dissection of Null Object pattern and how dependency injection should/shouldn't be used. This is Sandi Metz (of "Practical Object Oriented Design in Ruby" fame) at RailsConf 2015 but it's not Ruby-specific. 35m.
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

https://youtu.be/OMPfEXIlTVE?list=PL5s3t9kPeAN6aDxaSywIbeFJO...

it explains how shared behavior works without code duplication and why people tend to mess it up.

Sandi Metz has a talk where she speaks about her dislike for if https://www.youtube.com/watch?v=OMPfEXIlTVE
majewsky
Thanks for the link. I found the talk very insightful.

I would imagine Linus to disagree with Sandi's approach, though. She is never eliminating the if (as in: the conditional jump), just moving it from plain sight into the magic of dynamic method dispatch.

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". https://youtu.be/OMPfEXIlTVE

None
None
HN Theater is an independent project and is not operated by Y Combinator or any of the video hosting platforms linked to on this site.
~ yaj@
;laksdfhjdhksalkfj more things
yahnd.com ~ Privacy Policy ~
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.