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

    88 ratings


    More shows like Giant Robots Smashing Into Other Giant Robots

    View all
    Radiolab by WNYC Studios

    Radiolab

    43,959 Listeners

    Tentative by thoughtbot

    Tentative

    9 Listeners

    The Bike Shed by thoughtbot

    The Bike Shed

    121 Listeners

    Build Phase by thoughtbot

    Build Phase

    44 Listeners

    Soft Skills Engineering by Jamison Dance and Dave Smith

    Soft Skills Engineering

    288 Listeners

    The Lazy Genius Podcast by Kendra, The Lazy Genius

    The Lazy Genius Podcast

    6,694 Listeners

    REWORK by 37signals

    REWORK

    210 Listeners

    Crossroads by thoughtbot

    Crossroads

    2 Listeners

    Remote Ruby by Chris Oliver, Andrew Mason

    Remote Ruby

    34 Listeners

    Conan O’Brien Needs A Friend by Team Coco & Earwolf

    Conan O’Brien Needs A Friend

    59,563 Listeners

    Reboot by thoughtbot

    Reboot

    12 Listeners

    Oxide and Friends by Oxide Computer Company

    Oxide and Friends

    66 Listeners

    Rooftop Ruby Podcast by Collin Donnell, Joel Drapper

    Rooftop Ruby Podcast

    5 Listeners

    On Rails by Rails Foundation, Robby Russell

    On Rails

    9 Listeners