The McDonald's Theory of Bad Ideas
I use a technique like this when I am stuck trying to write code and can't figure out how to do it efficiently. I ask myself "what is the worst possible way to implement this function?" and start writing that. Sure enough, that gets my mind going almost immediately and I start thinking of the improvements needed to turn it into good code.