Easily Spotted
Posted: Tue 28 June, 2005 Filed under: Geeky, Thoughts 2 Comments »Grrr. I’ve just spent a number of hours trying to figure out why one part of a webpage was going wrong, and repeating an image multiple times when there was nothing in the code to indicate why it would think this was a good idea.
As it turns out, it was a simple fix – eventually. I’ve no idea why it was doing it, but it was.
The problem was a single extra < character. That was it. Why this made the navigation bar repeat three times I don’t know. But it now works. And that’s – sometimes – what makes up most of a day’s work. Finding a < . Sad, isn’t it?
A single missed ; in C/C++ can generate four pages of compile errors. Even better is the old =/== chestnut, which can cause *days* of fun.
Oh, don’t I know it. I’ve been through all those learning curves – particularly = / == / === in PHP – and sussed them. They’re still annoying though.