3 ms·
I once listed to a talk about a "new" JS (don't know witch one. I guess it never was adopted) It started with explaing all the ugly part of the DOM: Variables
by 1ris 11y ago
I once listed to a talk about a "new" JS (don't know witch one. I guess it never was adopted)
It started with explaing all the ugly part of the DOM: Variables that are constant, variable that are more like setters, variables that don't show up in a for(x in y) loop.
I was very exited. Are they goning to fix all this ugliness? Tidy up that crap?
NO! They said: "We want to be able to implement the DOM in JS. That's why we are going to add all this crap into JS". I have no idea from what perspective this makes sense. It's not just that I think it's a bad idea, I have no clue how anybody else could come to the conclusion it was a good idea. This was a way worse than C++. But I think in the end it didn't happen.