News for hackers. Stuff that matters.
Re:Modern Javascript: Everything you missed over the last 10... by YouthfulMarxism on Saturday May 15, 2021 @12:57PM (#27166870)
I'm so disapointed by the committee. So many utterly useless or easily bootstrappable features and yet, no pattern matching and pipeline operator stage 3 proposals. 0 progress for so many years. Lack of those roadblocks Typescript implementations.

ReasonML and KotlinJS will faster become practical general purpose web languages than committee would start doing something usefull.

Re:Modern Javascript: Everything you missed over the last 10... by halfmatthalfcat on Saturday May 15, 2021 @01:31PM (#27167175)
It took 6 years to ship ES6. We've now had a new spec iteration from every year after 2015. They are moving much, much faster and, having lived through ES5 to much pain and angst, I'm completely ok with them taking their time shipping these (very nice to have) features.
Re:Modern Javascript: Everything you missed over the last 10... by Cyberdog on Saturday May 15, 2021 @01:15PM (#27167012)
> Lack of those roadblocks Typescript implementations.

Is it JavaScript's job to improve the lives of transpiler implementers instead of improving the lives of JavaScript developers?

Re:Modern Javascript: Everything you missed over the last 10... by epmatsw on Saturday May 15, 2021 @01:41PM (#27167257)
I think they’re saying that TS won’t add the feature until JS does. Still kind of a strange take IMO, but makes a little more sense.
Re:Modern Javascript: Everything you missed over the last 10... by YouthfulMarxism on Saturday May 15, 2021 @04:00PM (#27168468)
First of all Typescript, is now more mainstream JS dialect than vanilla-js itself and, honestly, the only one i care about.

And i thought it's kind of obvious for anyone, that until *JS* proposals are staged far enough - Javascript won't have those features too. There is a good reason why TS waits for the stage 3.

Re:Modern Javascript: Everything you missed over the last 10... by IshKebab on Sunday May 16, 2021 @04:05AM (#27172034)
I mean you still can't even call `find()` or `contains()` on an iterator. JavaScript developers just collect them into arrays. :-/
Re:Modern Javascript: Everything you missed over the last 10... by anonymoushn on Saturday May 15, 2021 @12:58PM (#27166889)
no coroutines no buy
Re:Modern Javascript: Everything you missed over the last 10... by osmarks on Saturday May 15, 2021 @01:48PM (#27167319)
Generators are basically coroutines, aren't they?