News for hackers. Stuff that matters.
Re:Show HN: See the number of DOM elements on a web page by drewcoo on Monday April 01, 2013 @04:08AM (#5472002)
Ok, so what's the point? I'm not trying to be a naysayer. I'm honestly asking.

Is this trying to get us to look at different DOM structures to make us aware of the differences? Are there some things that are clearly good/bad that we should be aware of? Is this just to raise awareness of . . . something? I have no idea.

This seems like a solution in search of a problem. I strongly suspect that there is some hidden intent that I just don't grok. Because I'm an optimist.

(I realized after posting that I was snarky. I'm not removing the snark 'cause I should own up to it but this is an admission that I was probably a jerk. Sorry.)

Re:Show HN: See the number of DOM elements on a web page by breck on Monday April 01, 2013 @09:45AM (#5472947)
You're exactly right. There's not much of a point.

I'm working on a new HTML template language and wanted to "see" what existing web pages look like to better inform our design. It's been very helpful for that.

Then I wanted to see if web pages have gotten more complicated over the years, so I added the Wayback feature. In terms of # of DOM elements and levels, it appears the answer is no, which surprised me.

Anyway, I thought it was interesting, even if it doesn't clearly solve a common problem. Would be curious to hear if people find it useful for other reasons.