Why Our Code Smells - Brandon Keepers - RuLu 2012




Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Jul 11, 2012

RuLu 2012 Talk - http://rulu.eu

Odors are communication devices. They exist for a reason and are usually trying to tell us something.
Our code smells and it is trying to tell us what is wrong. Does a test case require a lot of setup? Maybe the code being tested is doing too much, or it is not isolated enough for the test? Does an object have an abundance of instance variables? Maybe it should be split into multiple objects? Is a view brittle? Maybe it is too tightly coupled to a model, or maybe the logic needs abstracted into an object that can be tested?
In this talk, I will walk through code from projects that I work on every day, looking for smells that indicate problems, understanding why it smells, what the smell is trying to tell us, and how to refactor it.

Brandon is a developer at GitHub. He spends most of his time crafting beautiful code for Gaug.es and SpeakerDeck.com. Brandon has created and maintains many open-source projects, and shares about his endeavors at opensoul.org.

video : Damien Belleville - bellevilledamien@gmail.com


When autoplay is enabled, a suggested video will automatically play next.

Up next

to add this to Watch Later

Add to

Loading playlists...