News for hackers. Stuff that matters.
Re:How to Build Minesweeper with JavaScript by chrismorgan on Thursday July 25, 2019 @10:02AM (#20525408)
I really dislike the way jQuery makes no distinction between mutations on one or many elements. I view the native APIs’ differentiation of the two, requring you to be explicit (`document.querySelector('.foo').classList.add('bar')` versus `document.querySelectorAll('.foo').forEach(foo => foo.classList.add('bar'))`) to be a feature.

There are no comments on this comment yet.