Skip to main content

How To (Semi-)Automate JavaScript Refactoring

Pure Code and JavaScript Golden Gate 6-8
Average rating: ***..
(3.92, 13 ratings)

Refactoring bad code can be tedious, repetitive work. But tedious, repetitive work is for computers to do! Find out how you can build a happy little refactoring droid which can do (at least some of) the boring parts of your job for you.

This talk will cover principles of automated refactoring, including tactics and low-hanging fruit; automated refactoring projects I’ve done for consulting clients; silly but effective hacks which misuse JSLint for fun and profit; automated refactoring and similarity-detection systems I’ve built in JavaScript and Ruby; and new parsing libraries using Node.js which make the process much easier.

Photo of Giles Bowkett

Giles Bowkett

at large

Giles Bowkett is wise beyond his noggin.


For exhibition and sponsorship opportunities at Fluent conference, contact Sharon Cordesse at (707) 827-7065 or

Download the Fluent Sponsor/Exhibitor Prospectus

For information on trade opportunities with O'Reilly conferences contact Jaimey Walking Bear at mediapartners

View a complete list of Fluent 2013 contacts