Message from JavaScript discussions

August 2017

— Avoiding using a NodeList etc... doesn't save you any effort imo. Especially when you know what an iterator is and what that means for the DOM

Message permanent page

— 

NodeList = targeting system for DOM nodes, is not an actual list containing Nodes. It's iterator pulls up Nodes as a window to the DOM itself via on demand traversal

— Array.from :^)

— Oh wait

— NodeList is dynamic?

— Smelly code if I see that

— A nodelist will change with the DOM?

— Very bad memory management... Why create a linear data structure out of a nonlinear one when it already supplies an abstraction that lets you treat it as linear? Only naive people will be using an array imo

Message permanent page

— Heh

— You even have item(n) if you want integer accessors

— So it's like putting a band aid on without even having an injury haha

— Also with the iterator your code is already polymorphic between a lot of data structures