4 of 4 edited tags

# Write a code golfer

Your job, should you choose to not refuse it, is to write a program that will "golf" a piece of given code in your language of choice.

Basic functionality:

• Remove extraneous whitespace
• Combine declarations (int x; int y; int z; to int x, y, z;)
• Use shorter variations of basic control structures (while(1) is replaced with for(;;))
• Move code around (i = 0; while(i < 10) { /* ... */ ++i; } to for(i = 0; i < 10; ++i) { /* ... */ })