Friday, January 30, 2009

Riddle Me This...

What do my pregnant wife and XHTML have in common?

Go ahead, think about it. I'll wait.

Give up?
The answer is: Nesting Phases, and the fact that no matter how much of my code I inject in either one, I never seem to get easy validation from either.

One thing I've noticed while writing my code is that it tends to be a bit like my computer room. I know where everything is, but to the untrained eye (and indeed the validator), I have things scattered about and improperly placed. Nevermind the fact that *I* can find everything I am looking for when I need it. I've tried to explain to my wife how secure everything in my computer room probably is, because if anyone broke in, they'd NEVER be able to find anything of real value. But like arguing with the XHTML validator, I always lose.

I admit it's hard not to revert back to childhood when the XHTML validtor and my wife tell me to pick up my toys and clean my room. Both my wife, and the XTHML validation tool are, well, smarter and more disciplined than I am. So I press on, knowing full well that while not every rule either of them throws at me right now is making much sense, it's probably for the better.

On the brightside, at least I don't have to support XHTML for the next 18 years. =)

No comments:

Post a Comment