librelist archives

« back to archive

Switch to CoffeeScript

Switch to CoffeeScript

From:
Aaron Hill
Date:
2013-08-14 @ 14:01
Hello everyone,

I've been taking a look at converting BrowserQuest to CoffeeScript.
CoffeeScript is a language which compiles to JavaScript, but it much easier
to write and understand. You can see the files I've converted here:
https://github.com/Aaron1011/BrowserQuest/compare/coffeescript

If we were to convert BrowerQuest to CoffeeScript, we would set it up so
that the CoffeeScript compiler would run when the server is launched,
compiling everything to JavaScript.

Let me know what you think.

--Aaron