One thing I try to instill in junior programmers is to not ignore their "hmm, this is weird" hunches. 9 cases out of 10, you just missed something but that's fine, you only wasted some time (but maybe learned a thing or two). Every once in a while you strike gold, though