[annotator-dev] Moving away from CoffeeScript
nick at whiteink.com
Mon Oct 6 20:56:01 UTC 2014
As discussed on our community call today and previously on this
mailing list, we often receive requests for Annotator to be a
Every time this has been raised, both in person and online, opinions
seem to me to have been divided into two camps:
1) Yes please, CoffeeScript is a significant barrier/source of friction
2) CoffeeScript isn't that bad really.
My personal view is that CoffeeScript served a useful purpose in
to write code that blew up in one browser or another. Back then,
CoffeeScript provided a reliable compile step that eliminated these
inconsistencies, and came with a simpler syntax as well.
Now, most of these arguments have lost their potency in the light of
While it's true that CoffeeScript still provides a less noisy syntax for
CoffeeScript is implicit, and while this is probably a matter of taste,
my taste leans strongly towards the former.
In summary, I don't feel that whatever slight advantage CoffeeScript may
convey outweighs two major issues:
- its role, perceived or real, as a barrier to contribution
As such, here's a pull request on Annotator that translates the bulk of
of the code (and tests) will follow in due course:
If you feel there are sides to this issue I haven't considered, please
either reply on the list or let me know on the above PR.
More information about the annotator-dev