4 ms·
> It would probably take more time to write something like that than write about Chomsky Hierarchies. And yet it is not only wrong, but the answers below do a
by ratww 7y ago
> It would probably take more time to write something like that than write about Chomsky Hierarchies.
And yet it is not only wrong, but the answers below do a much better job at explaining Chomsky Hierarchies and other things correctly.
Why is it wrong? "Have you tried using an XML parser instead?" is wrong because HTML is not necessarily XML/XHTML. The first working draft of HTML5 was published a year before that answer, and non-XML websites existed since the 90s, so there's no excuses.
-
> but IMHO that's also how you end up debugging a production bug at 3am while losing faith in your fellow developers and humanity, so I'm not sure if it's a net plus
And that's why you treat people like adults: you tell them the limitations of each method, instead of making a meme.
And btw, you can get bugs at 3am with a XML (or HTML) parser too.