News for hackers. Stuff that matters.
Re:Hacker News doesn't validate by bprater on Tuesday January 06, 2009 @09:58PM (#422884)
I've still yet to understand why people care so much about validation. We can barely get browsers to render things the same way, but we flip out because some folks don't close their tags.

I've never figured it out.

Re:Hacker News doesn't validate by fauigerzigerk on Wednesday January 07, 2009 @08:15AM (#423376)
I'm far from being militant about it, but one reason for conforming to specs is that it makes writing browsers more productive. So the people writing browsers can create new features or make their code faster instead of trying to keep up with all kinds of quirks in everyday HTML.

If one browser maker accepts a particular non-standard quirk, all others will have to follow. Sometimes this isn't a bad thing (XmlHTTPRequest) but it slows down browser development. Since browser makers can't keep up, web developers see browser incompatibilities and that makes them move to things like Fash/Flex.

So basically, the effect is that the web becomes more proprietary the more non-standard quirks have to be supported.

But still, there is clearly a tradeoff between conforming to standards, using what works to increase your own productivity, and experimenting with new things to innovate. It's not black and white in my view.

Re:Hacker News doesn't validate by sharkbrainguy on Tuesday January 06, 2009 @10:14PM (#422907)
Invalid (x)html puts some browsers into a "quirks" mode, which makes it harder to get some things to work.
Re:Hacker News doesn't validate by eli on Wednesday January 07, 2009 @12:08AM (#423032)
But... the site does work, no?
Re:Hacker News doesn't validate by run4yourlives on Wednesday January 07, 2009 @01:58AM (#423116)
Not always, no.
Re:Hacker News doesn't validate by randallsquared on Tuesday January 06, 2009 @10:45PM (#422950)
It would probably go farther toward validation if "<!DOCTYPE html>" was stuck on the top. :) And, since that's HTML 5, there are a lot of tags that don't need closing.