> In fact, native functions often have to cover complicated edge cases from the ECMAScript specification, which put them at a performance disadvantage.
What. Is. This. I don’t even.
What. Is. This. I don’t even.
Why can't we build software on simpler platforms with better implementations?
For example, Haskell provides only a handful of constructs but allows the developer to build sophisticated systems.
Though I agree complex platforms are not necessarily complicated.
I can make the implementation simpler if the underlying specification is simpler. If a language is full of edge cases, it was not designed carefully. If there exists a significantly faster implementation in a significantly slower language that covers 99% of the specification, I'd look for opportunities to simplify.