— The jQuery object wrappers make it sort of coupled but there are several large monolithic parts that can be easily replaced with like 2 lines of vanilla DOM API code
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
— 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
— 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