The new Intl API while amazing, sounds like a big lost opportunity for built-in modules. I feel sorry seeing this new API in the global scope of node 12 (and the web)
-
-
Globals are bad, and node started from scratch providing a nice and clean std in modules. I can understand why they see it as a step backwards.
-
I can see that adding URL made sense, in order to make both platforms more consistent. But new apis? Please let’s work in built modules instead of shipping more APIs in globalThis
- 4 more replies
New conversation -
-
-
I don't think it's a node thing.
-
It has a lot to do with the practice of writing universal JS. When things are added to the global, the practice of identifying parts of your code that work in your target environments is really hard, even for experienced developers
- 5 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.