1 of 4

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

'Advanced' functionality:

  • Combine declarations (int x; int y; int z; to int x, y, z;)
  • Etc