Refactoring JavaScript
The rise of Ajax and Rich Web Applications, plus the success of dynamic languages, has caused people to revisit the JavaScript language. Now that we take JavaScript seriously as a language, it is time to get serious about the quality of JavaScript code, through refactoring. In this talk, we will test and refactor a real-world jQuery plugin.
As we refactor a real-world jQuery plugin, you will learn how to
- test JavaScript code with Screw.Unit, Smoke, and blue-ridge
- write covering tests for existing code
- perform common refactorings such as extract method and "use the right tools"
- rethink refactoring in light of functional programming style
- think about when and how refactoring shades into breaking changes and redesign
About Stuart Halloway
Stuart Halloway is the CEO of Relevance, Inc. (www.thinkrelevance.com). With co-founder Justin Gehtland, Stuart helps companies adopt agile, as well as innovative technologies such as Clojure and Ruby on Rails. Stuart is the author of Programming Clojure, Rails for Java Developers, and Component Development for the Java Platform. Prior to founding Relevance, Stuart was the Chief Architect at Near-Time, and the Chief Technical Officer at DevelopMentor.
More About Stuart »

