EYR - Refactoring from good to great (and live)

Friday afternoon, Enlarge Your Ruby is back. So, is your Friday afternoon boring ? What about refactoring ? It’s time to learn having fun doing that, turning pretty bad code into good one and even into great one.

Ben Orenstein (@r00k) did a great live refactoring on stage at Aloha Ruby Conf in October 2012. Worth seeing it.

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.

Video files to download (720p… or only audio) are on Confreaks.

Next article: ActiveCleaner to clean your fields in your Rails models

Previous article: EYR - Wrangling large Rails codebases

Maxime Garcia
Ruby, Rails & JS lead developer in Paris.