← Back to context

Comment by palmfacehn

3 months ago

There's also the option of including that standard lib with the runtime.

And never ever be able to correct your past mistakes, because some sites might still be using them? The web platform is no .NET runtime you can just update.

  • Web browsers update far more often than .NET runtime, if anything. And .NET still supports a lot of deprecated stuff going all the way back to 1.0; so does Java (old-style collections, for example).

    Also, JavaScript is a shining example of "never ever be able to correct your past mistakes" already, so it's not like this is something new for the web.

That is exactly what happens today. JS has a standard library. It's just not evenly distributed.

  • JS standard library is missing very basic things like maps with value semantics for keys that aren't primitives.