First of all, why terrible, messy etc code it's faster to write than good code? Probably you can write good code in the same time, this good code maybe will be not the best in terms of performance but that's all. My recommendation is: try to do your best effort to write good code even when you are in a hurry.