27: Fabulous new mistakes episode artwork

EPISODE · Dec 17, 2012 · 26 MIN

27: Fabulous new mistakes

from Giant Robots Smashing Into Other Giant Robots · host thoughtbot

Ben Orenstein is joined by Joe Ferris, CTO of thoughtbot. Inspired by a question on Law of Demeter from listener Nathan Long, Joe and Ben (hopefully) answer Nathan's question, and then go on to discuss how the Law of Demeter is a form of duplication, how it effects testing, and how to better architect your report, your view, or your entire system to better obey the Law of Demeter. They also touch upon Rails' try method, how the pain of testing helps guide the code you write, where the Law of Demeter doesn't apply, how people don't refactor their tests, how to productively refactor your tests and avoid wasting time rewriting things, and much more. Law of Demeter, Wikipedia Virtuous Code - Avdi Grimm, Demeter: It's not just a good idea. It's the law Nathan Long's LoD question #try Builder pattern, Wikipedia The Boy Scout Rule Ruby Science Fluent interfaces, Stub a chain of methods Follow @thoughtbot, @joeferris, and @r00k on twitter.

Episode metadata supplied by the publisher feed · Published Dec 17, 2012

Embed this episode

NOW PLAYING

27: Fabulous new mistakes

0:00 26:39

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of Giant Robots Smashing Into Other Giant Robots?

This episode is 26 minutes long.

When was this Giant Robots Smashing Into Other Giant Robots episode published?

This episode was published on December 17, 2012.

Can I download this Giant Robots Smashing Into Other Giant Robots episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!