# 1: Polymorphism vs. Conditionals

> Episode of [Giant Robots Smashing Into Other Giant Robots](https://podistic.com/podcast/giant-robots-smashing-into-other-giant-robots.md) · Published June 12, 2012 · Duration 31:13

- **Listen on Podistic:** https://podistic.com/episode/1-polymorphism-vs-conditionals
- **Audio:** https://aphid.fireside.fm/d/1437767933/124f6fb8-c1ce-4784-afd9-daeb5898e044/b9e07532-533f-461e-9907-9f395fced1dd.mp3 (audio/mpeg)

## About this episode

Ben Orenstein and Joe Ferris (and the surprise special guest Seana Quental) start the series off with a very technical discussion about Polymorphism vs. Conditionals. We also answer some of the audience questions we asked for last week.

*   [CVS](http://www.nongnu.org/cvs/)
*   [SVN](http://subversion.apache.org/)
*   [Git](http://git-scm.com/)
*   [Feature branch code reviews](http://robots.thoughtbot.com/post/2831837714/feature-branch-code-reviews)
*   [Rebasing](http://git-scm.com/book/en/Git-Branching-Rebasing)
*   [Composition over Inheritance](http://en.wikipedia.org/wiki/Composition_over_inheritance)
*   [Objects on Rails, Avdi Grimm](http://objectsonrails.com/)
*   [NullObject](http://en.wikipedia.org/wiki/Null_Object_pattern)
*   [Rails Refactoring Example: Introduce Null Object](http://robots.thoughtbot.com/post/20907555103/rails-refactoring-example-introduce-null-object)
*   [#try](http://api.rubyonrails.org/classes/Object.html#method-i-try)
*   [God objects](http://en.wikipedia.org/wiki/God_object)
*   [Rich Hickey's Railsconf Keynote](http://www.youtube.com/watch?v=rI8tNMsozo0)
*   [Kingdom of Nouns, Steve Yeggie](http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom-of-nouns.html)
*   [Ruby blocks](http://www.robertsosinski.com/2008/12/21/understanding-ruby-blocks-procs-and-lambdas/)
*   [StrategyPattern](http://en.wikipedia.org/wiki/Strategy_pattern)
*   [CommandPattern](http://en.wikipedia.org/wiki/Command_pattern)
*   [Clearance](http://github.com/thoughtbot/clearance)
*   [Gang of Four Design Patterns](http://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612)

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