Yes, that's the restraint the writers are showing. That's my point: the issue isn't the multiverse aspect itself, it's the replacability brought on by unrestrained multiverse implementations.
His future self opens a window and says “Hey, get some paper and a pen, I’ve got some winning lottery numbers for you!” and his past self goes “Oh boy!” and then immediately CLICK (closes the portal) before ever being shown the numbers.
Here's your issue - it's not the future self opening the window, it's his past self. The future self can only speak through the window, but he can't open it. So since the "current" self closes the window, the future self won't be able to speak through it.
It unquestionably is excellent. Can you name another language in common use with a type system that's close to the expressiveness of Typescript?
I get what you mean, but I have to disagree a bit. The slice of the multiverse we're looking at is special because we're looking at it. It only makes it irrelevant if the slices are treated as fully replaceable.
Take for example Invincible. The comics & series focus on a young superhero who could have become incredibly evil, but didn't. The multiverse is used to highlight this: it shows alternative versions of him that did become evil, and it even says that most alternative versions did so. This makes the version of him we focus on that much more special, and allows for interesting character progression through being confronted with his fears.
But it only works because of the restraint of the writers, never showing us another good version of Invincible, only focusing on evil alternatives.
How? It's easy not to run into the common issues by using TS. What's so bad about it that we should throw away the existing ecosystem?
Please give arguments instead of platitudes.
Why? Why not improve JS (e.g. with Temporal), especially given how excellent Typescript is?
"Turbo lead", I love it! That means we can use it to make turbo sweeteners, right?
It's absolutely crazy to me that there are unironically people recommending Arch to newbies.
I can't stop using Linux.
My desktop computer? Linux.
My work laptop? Linux.
My phone? Linux.
My robot vacuum? Linux.
Linux. Linux. Linux.
Because those culinary definitions are used for other laws, e.g. laws about what food schools can give to children.
His future self showed his past self the lottery numbers through the open window, but he closes the window, so his future self can't show them to his past self.
Sure, discipline can prevent some errors. But it's always possible to run into wrong type assumptions, and I'd say type coercion and null/undefined access make up a fairly large percentage of non-logic errors. You can entirely prevent those using Typescript, which is why it's so useful.
Static type analysis is always a good idea if you're writing more than a couple lines. IMO Python is the worst offender with its
kwargs
etc. - discoverability and testability is just so bad if you're following common Python idioms.