Make a decision right before doing something.

Taken from: Rework
by Jason Fried, David Heinemeier Hansson