News for hackers. Stuff that matters.
Re:What’s New in ES2019 by pas on Tuesday July 30, 2019 @09:25AM (#20564586)
It seems that only `when` and `->`is the new syntax, no? The arrow seems something that could be replaced with `=>`, but anyway, neither seems to be very restrictive with regards to future syntax. (After all they are only defined in a `case` context, so the can be reused for whatever future purpose outside.)

Plus it's a stage1 proposal, meaning it's far from serious.

Could you link the type annotation proposal, I can't find it.

Re:What’s New in ES2019 by snek on Tuesday July 30, 2019 @10:27AM (#20565094)
There is no type annotation proposal.
Re:What’s New in ES2019 by sdegutis on Tuesday July 30, 2019 @11:13AM (#20565558)
TypeScript is becoming the de facto type annotations proposal.
Re:What’s New in ES2019 by Roboprog on Tuesday July 30, 2019 @05:31PM (#20569406)
Let me know when (type inference of) partial function application and object literals are easy in Typescript and I’ll consider it.
Re:What’s New in ES2019 by sdegutis on Tuesday July 30, 2019 @06:10PM (#20569720)
Do you have a specific example of code that's hard to annotate in TypeScript? I've been using it for about a year without major issues (except somewhat slow compile times).
Re:What’s New in ES2019 by Roboprog on Wednesday July 31, 2019 @02:51PM (#20577089)