4 ms·
The error wrapper is kind of nice, I'll think about adopting it. Basically, though, I find that CoffeeScript's significant whitespace and lack of cruft in gener
by yesbabyyes 15y ago
The error wrapper is kind of nice, I'll think about adopting it. Basically, though, I find that CoffeeScript's significant whitespace and lack of cruft in general yields pretty nice callback code, with indents as a visual indicator of program flow. Given that you use named functions where appropriate.
The same is true for JavaScript as well, but it's easier to accomplish, IMO, in CS. TJ Holowaychuk's JavaScript code, for instance, is very readable.