# 7: Something Else Was Smellier

> Episode of [Giant Robots Smashing Into Other Giant Robots](https://podistic.com/podcast/giant-robots-smashing-into-other-giant-robots.md) · Published August 10, 2012 · Duration 34:08

- **Listen on Podistic:** https://podistic.com/episode/7-something-else-was-smellier
- **Audio:** https://aphid.fireside.fm/d/1437767933/124f6fb8-c1ce-4784-afd9-daeb5898e044/d6696aac-7be8-477e-be92-26af6b8518cd.mp3 (audio/mpeg)

## About this episode

Ben Orenstein is once again joined by Joe Ferris, CTO of thoughtbot. Joe and Ben dive right in to a technical discussion about Objects versus Structures. They then discuss what Joe does as the new CTO of thoughtbot, and how his goal is to set up a system where everybody is teaching everybody. Finally, they discuss why Joe doesn't like using rspec's let and subject, and his strategy for writing tests without them.

*   Object Mentor blog, [Objects vs. Structures](http://blog.objectmentor.com/articles/2007/11/02/active-record-vs-objects)
*   [Robert Martin Shape Hierarchy (Open Closed Principle)](http://www.objectmentor.com/resources/articles/ocp.pdf)
*   [Martin Fowler's Refactoring](http://www.amazon.com/Refactoring-Improving-Design-Existing-Code/dp/0201485672)
*   [Code smell](http://en.wikipedia.org/wiki/Code_smell)
*   [Case statement code smell](http://c2.com/cgi/wiki?SwitchStatementsSmell)
*   [Visitor pattern](http://en.wikipedia.org/wiki/Visitor_pattern)
*   [Shotgun surgery](http://en.wikipedia.org/wiki/Shotgun_surgery)
*   [Method object](http://c2.com/cgi/wiki?MethodObject)
*   [Composition over inheritance](http://en.wikipedia.org/wiki/Composition_over_inheritance)
*   [paperclip](http://github.com/thoughtbot/paperclip)
*   [Growing Object-Oriented Software, Guided by Tests](http://www.amazon.com/Growing-Object-Oriented-Software-Guided-Tests/dp/0321503627)
*   thoughtbot's [apprentice.io](http://apprentice.io)
*   [Parkinson's Law of Triviality (bikeshedding)](http://en.wikipedia.org/wiki/Parkinson's_Law_of_Triviality)
*   [Broken windows theory](http://en.wikipedia.org/wiki/Broken_windows_theory)
*   rspec's [`let`](https://www.relishapp.com/rspec/rspec-core/v/2-6/docs/helper-methods/let-and-let) and [`subject`](https://www.relishapp.com/rspec/rspec-core/v/2-6/docs/subject/explicit-subject)
*   [Mystery Guest](http://robots.thoughtbot.com/post/159805321/mystery-guest)

Follow [@thoughtbot](http://twitter.com/thoughtbot), [@r00k](http://twitter.com/r00k), and [@joeferris](http://twitter.com/joeferris) on twitter.

[Support Giant Robots Smashing Into Other Giant Robots](https://github.com/sponsors/thoughtbot)
