3 ms·
I'm struggling to think of something I can do in Javascript, but not CoffeeScript. Can you give an example?
by mrkurt 16y ago
I'm struggling to think of something I can do in Javascript, but not CoffeeScript. Can you give an example?
- dstein 16y agoBecause of whitespace and line break sensitivity you can't dynamically generate serialized CoffeeScript (unless delicately handled) because it won't compile.
- oscilloscope 16y agoI'm building a web-based IDE for Raphael in CS. My big pain point: when users define a function, JS Shell returns the JS version of the function. If the user types in a function name without calling it, they see the JS definition. Since one can't go from JS -> CS, I can't figure out a good way to keep JS away from the user. http://fleetinbeing.net/raffi/ http://fleetinbeing.net/raffi/ (type "spiral 30" to run a function defined in CS, then type "spiral" to see the definition in JS)