
Sign up to save your podcasts
Or


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.
Follow @thoughtbot, @joeferris, and @r00k on twitter.
Support Giant Robots Smashing Into Other Giant Robots
By thoughtbot4.8
8888 ratings
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.
Follow @thoughtbot, @joeferris, and @r00k on twitter.
Support Giant Robots Smashing Into Other Giant Robots

43,959 Listeners

9 Listeners

121 Listeners

44 Listeners

288 Listeners

6,694 Listeners

210 Listeners

2 Listeners

34 Listeners

59,563 Listeners

12 Listeners

66 Listeners

5 Listeners

9 Listeners