News for hackers. Stuff that matters.
Re:Deep JavaScript: Theory and Techniques by azangru on Wednesday June 17, 2020 @05:50PM (#23557203)
Have you seen that Flanagan's JavaScript the Definitive Guide, the famously big book with the rhinoceros on its cover, has recently seen a new edition? I wonder how deep its JavaScript goes :-)

(https://www.amazon.co.uk/JavaScript-Definitive-Guide-David-F...)

Re:Deep JavaScript: Theory and Techniques by petercooper on Wednesday June 17, 2020 @08:55PM (#23558652)
David has written about what's new, if anyone's interested: https://davidflanagan.com/2020/05/03/changes-in-the-seventh-...

I also (briefly) interviewed him about it here: https://superhighway.dev/david-flanagan-interview

Re:Deep JavaScript: Theory and Techniques by ithrow on Wednesday June 17, 2020 @10:56PM (#23559352)
No PDF version?
Re:Deep JavaScript: Theory and Techniques by jmchuster on Wednesday June 17, 2020 @09:52PM (#23558971)
I've always enjoyed the famously small book "Javascript: The Good Parts", albeit a bit dated at this point
Re:Deep JavaScript: Theory and Techniques by mayank on Wednesday June 17, 2020 @10:59PM (#23559372)
Unfortunately, the language has changed so much in recent years that I wouldn’t necessarily recommend that book anymore. A large number of fundamental features have been introduced since 2008, including async/await, lambda functions, class and extends syntax, proxies, and a ton of builtin methods like map() and forEach() on native list types.
Re:Deep JavaScript: Theory and Techniques by jmchuster on Wednesday June 17, 2020 @11:56PM (#23559669)
For sure, these were the old days before jQuery was even considered a standard library. It was still duking it out with YUI and Prototype.
Re:Deep JavaScript: Theory and Techniques by chrstphrknwtn on Thursday June 18, 2020 @01:52AM (#23560169)
I'm fairly sure Lambda functions have always been part of javascript?
Re:Deep JavaScript: Theory and Techniques by croddin on Thursday June 18, 2020 @02:02AM (#23560208)
Anonymous functions indeed have. I think he means the arrow function syntax.
Re:Deep JavaScript: Theory and Techniques by mayank on Thursday June 18, 2020 @11:35AM (#23564043)
Yes, my bad. I meant arrow functions.
Re:Deep JavaScript: Theory and Techniques by ulucs on Thursday June 18, 2020 @02:00AM (#23560206)
function () {}'s have been there forever, but () => {}'s have different semantics and are somewhat new