Optimism

optimism: n.

What a programmer is full of after fixing the last bug and before discovering the next last bug. Fred Brooks's book The Mythical Man-Month (See Brooks's Law) contains the following paragraph that describes this extremely well:

See also Lubarsky's Law of Cybernetic Entomology.