Are there any general techniques to speed up my coding?
I am preparing for a programming contest where we have to code in C++ and it is all about producing working code in a short time. An example would be to use a macro to get the minimum of two ints or using memsets to initialize arrays (but I was told that you shouldn't use either here).
This leads to the question: what kind of coding techniques exist to speed up coding at a real job?
Think you know how to code faster in a contest or professional environment? Disagree with the opinions expressed above? Bring your expertise to the original post at Stack Exchange, a network of 80+ sites where you can trade expert knowledge on topics like Web apps, cycling, scientific skepticism, and (almost) everything in between.