Why does my coding always follow this pattern?

http://xkcd.com/844/

Comments