Hacker News new | ask | show | jobs
by zarzavat 1205 days ago
Do you like writing this everywhere?

    var that = this;
    function() {
      ...
    }
Back when there was no async/await and no promises, passing callbacks like this was extremely tedious, and node.js had a lot. CoffeeScript was worth using for the fat arrows alone.

CoffeeScript didn't die. JavaScript (ES3/5) died and we are all using CoffeeScript now!

2 comments

Oh God, that = this made my heart jump a little. Is this what it's like to feel old? :)
was function() { .. }.bind(this) not around yet?