•  

Refactoring from Good to Great

A session at Aloha Ruby Conference 2012

Monday 8th October, 2012

2:00pm to 2:45pm (HST)

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 to cover 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 :) organizers')

Obviously, my credibility relies entirely on this talk being awesome, so come ready to laugh, learn, and enjoy yourself.

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 Track 1

3pm Why JRuby? by Charles Nutter

Ben Orenstein at previous events

Coverage of this session

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

Tell your friends!

When

Time 2:00pm2:45pm HST

Date Mon 8th October 2012

Short URL

lanyrd.com/srffd

Official event site

aloharubyconf.com

View the schedule

Share

Topics

See something wrong?

Report an issue with this session