The fourth episode of Magnar Sveen’s cleaned up WebRebels talk is available. This section continues the demonstration of his JavaScript refactoring tools. He’s able to select a code snippet and turn it into a function with a single call. He can even parameterize the process in a way that’s hard to explain in print but easy to understand when you watch it. He’s also added some of the Paredit functionality. Very nice; it’s almost enough to make me start programming in JavaScript.
This episode is just under 2 minutes so you can watch it any time. You can find the code that he’s using at Sveen’s github repository (the js2 refactoring code is here).