Re:Show HN: Decaffeinate converts CoffeeScript projects to m...
by koolba on Monday June 19, 2017 @06:07AM
(#14585740)
That'd be particularly difficult as CoffeeScript doesn't have var declarations.
[ Parent
| on HN ]
Re:Show HN: Decaffeinate converts CoffeeScript projects to m...
by molszanski on Monday June 19, 2017 @11:38AM
(#14587747)
Partly. You can define them if you want it. You can even add type support with FB Flow.
CS developers sometimes define variables because of hoisting.
Obviously, variables are defined. In CS they are simply defined for you automatically. That said, you can obviously do it yourself if you want. But you will not be able to use additional tooling around `let` and `const`