4 ms·
I wonder why we need all these different collections. Makes the DOM feel hacked together by lots of totally different people not communicating (?) There's proba
by tentacleuno 5y ago
I wonder why we need all these different collections. Makes the DOM feel hacked together by lots of totally different people not communicating (?) There's probably a reason, though.
- jfrunyon 5y agoThat's because it was hacked together by lots of totally different people not communicating. Over a couple of decades, no less.
- rndgermandude 5y agoExactly. Once upon a time the powers that were figured a live node list would be cool, so they did that. Many moons later, the new powers that were decided that while a live node list looks cool, it contains too much magic pixie dust which may cause allergies in a lot of people (symptoms include frantically screaming at your screen about why this stuff doesn't work like you expect it to work). But they couldn't just change existing stuff or risk breaking the web. But they could avoid it for new stuff, and so they did that.
- joshspankit 5y agoFor reference: https://xkcd.com/927/ https://xkcd.com/927/