Comment

Mihail Malostanidis

If you don't enable advanced compilation in closure, you are not even scratching the surface of what it can do, especially for performance but also filesize.
Yes, writing better code and documenting it with JSdocs takes more time than writing a freehand prototype, but anything you plan to maintain (read, everything you plan to use continuously, not a couple of times as an injected script) would strongly benefit from the documentation and type checking of your further additions.

Replies