32 points · by taylorbuley · 14y ago · 18 comments
FWIW, it took about 10 minutes to remove the semicolons from the codebase, with a simple grep: /;$/
For the few places where a ; is actually needed you can run a regexp based search as well, the rest is easily identified by unit tests.
We've also spend some 50+ hours on writing new code, tests, a new build and automated tests system, a completely new documentation site and answering countless issues on GitHub.
So yes, you could say my taste changed, but there's good a good reason behind it—the semicolons are optional, and Zepto is all about concise code.
And honestly this is, intentionally, a tiny library. If it took more then 10 minutes I'd be surprised.
I think for the library code itself we prefer using JavaScript because in lots of ways it allows very fine-tuned control, one (of many) examples for this is deliberately using == instead of ===.
I love Coffee and would use it for everything, but this is one of those cases where we simply need to squeeze every single byte and scream each time that we have to let one go.