Dropbox dives into CoffeeScript
Sep 13, 2012Dan Wheeler8 min read
Opens dropbox.techWhat the post covers
This post details Dropbox's migration of its entire browser-side codebase from JavaScript to CoffeeScript.
- It addresses concerns about development bloat by implementing server-side instrumentation for fast recompilation and debugging.
- The authors argue that CoffeeScript's syntactic improvements address historical issues in JavaScript, leading to a 21% reduction in lines of code and tokens.
- They also discuss the methodology, including the use of js2coffee for initial conversion and testing with Jasmine and Selenium.
- Future plans include source map support and native browser support for CoffeeScript.
@2x.png)