3 ms·
Except sass is a fully backwards compatible superset to CSS, and coffescript is definitely not that to JavaScript.
by carc1n0gen 9y ago
Except sass is a fully backwards compatible superset to CSS, and coffescript is definitely not that to JavaScript.
- sghiassy 9y agoReally? Are you sure? If CoffeeScript isn't fully compatible with JS then what is it? I mean at some point it has to go through a JS interpreter to run.
- carc1n0gen 9y agoI created a coffee file called list.coffee with: var list = [1, 2, 3, 4, 5]; When I run `coffee list.coffee` I get: /home/****/Code/coffee/thing.coffee:1:1: error: reserved word 'var' var list = [1, 2, 3, 4, 5]; ^^^ The coffeescript interpreter is standalone and does not turn it in to JS.