Regarding types, you're right, though JSDoc can get you very far
Regarding perf (performance, I guess?) - are you speaking of the single, global one? As CS takes care of variable scoping automatically, I think it makes a lot of sense (and is deactivatable anyway)
in the sense that you write them and parse them in your brain manually. JSDoc is useful to me because IDE supports it for javascript. Without IDE support it's just a bunch of fancy comments
Regarding types, you're right, though JSDoc can get you very far
Regarding perf (performance, I guess?) - are you speaking of the single, global one? As CS takes care of variable scoping automatically, I think it makes a lot of sense (and is deactivatable anyway)
> JSDoc can get you very far
in the sense that you write them and parse them in your brain manually. JSDoc is useful to me because IDE supports it for javascript. Without IDE support it's just a bunch of fancy comments
You could try using the https://github.com/phil294/coffeesense/ VSCode extension for that, released 7 days ago (disclaimer: I made it).
1 reply →
no coffeescript desugars into functions things like switch statements, do statements and some other things (that have nothing to do with functions)
Just tried a switch statement, didnt desugar into functions. Maybe you haven’t been keeping up with the latest.