Laughter and tears are both responses to frustration and exhaustion. I myself prefer to laugh, since there is less cleaning up to do afterward.
In programming, everything we do is a special case of something more general -- and often we know it too quickly.