Refactoring from Good to Great - A Live-Coding Odyssey

A session at RubyConf Australia 2013

Thursday 21st February, 2013

10:30am to 11:15am (EST)

Most developers know enough about refactoring to write code that's pretty good. They create short methods, and classes with one responsibility. They're also familiar with a good handful of refactorings, and the code smells that motivate them.

This talk is about the next level of knowledge: the things advanced developers know that let them turn good code into great. Code that's easy to read and a breeze to change.

These topics will be covered solely by LIVE CODING; no slides. We'll boldly refactor right on stage, and pray the tests stay green. You might even learn some vim tricks as well as an expert user shows you his workflow.

Topics include:

  • The Open-Closed Principle
  • The types of coupling, and their dangers
  • Why composition is so damn great
  • A powerful refactoring that Kent Beck refers to as "deep deep magic"
  • How to destroy conditionals with a NullObject
  • The beauty of the Decorator pattern
  • Testing smells, including Mystery Guest and stubbing the system under test
  • The stuff from the last halves of Refactoring and Clean Code that you never quite got to :)

About the speaker

This person is speaking at this event.
Ben Orenstein

vim evangelist, Rails developer, @thoughtbot-ter, conference-speaking enthusiast bio from Twitter

Next session in Conference Room A

11:20am Sinatra in SIX lines - How to do crazy stuff with Ruby by Konstantin Haase

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!


Time 10:30am11:15am EST

Date Thu 21st February 2013


Conference Room A, Jasper Hotel

Short URL


Official event site


View the schedule


See something wrong?

Report an issue with this session