|
|
|
|
|
by _pdp_
3901 days ago
|
|
I typically don't get into these types of conversations but here we go. CoffeeScript is a lovely language by all means and at my company we use it extensively because it reduces the amount of boiler plate code by a factor of 10 maybe even 20. Here is a simple example: some_func = (callback) -> callback new Error 'boom'
some_func (err) ->
return console.log err if err
console.log 'everything is fine'
The alternative JavaScript version is just too much to read.This makes huge difference when you write async code and no amount of TypeScript can really help it. |
|