Giant Robots Smashing Into Other Giant Robots

27: Fabulous new mistakes


Listen Later

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.

    Support Giant Robots Smashing Into Other Giant Robots

    ...more
    View all episodesView all episodes
    Download on the App Store

    Giant Robots Smashing Into Other Giant RobotsBy thoughtbot

    • 4.8
    • 4.8
    • 4.8
    • 4.8
    • 4.8

    4.8

    89 ratings


    More shows like Giant Robots Smashing Into Other Giant Robots

    View all
    Radiolab by WNYC Studios

    Radiolab

    43,909 Listeners

    Stuff You Should Know by iHeartPodcasts

    Stuff You Should Know

    77,622 Listeners

    The Changelog: Software Development, Open Source by Changelog Media

    The Changelog: Software Development, Open Source

    284 Listeners

    Build Phase by thoughtbot

    Build Phase

    43 Listeners

    The Bike Shed by thoughtbot

    The Bike Shed

    121 Listeners

    Reboot by thoughtbot

    Reboot

    12 Listeners

    Tentative by thoughtbot

    Tentative

    9 Listeners

    Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

    Syntax - Tasty Web Development Treats

    987 Listeners

    Crossroads by thoughtbot

    Crossroads

    2 Listeners

    Remote Ruby by Chris Oliver, Andrew Mason

    Remote Ruby

    34 Listeners