Code can be literature in specific cases, such as the Shakespeare programming language. It's just a whimsical, esoteric language, like lolcode, but it reads like the Immortal Bard himself was an early adopter of learning to program.
Example of a conditional statement:
Juliet:
Am I better than you?
Hamlet:
If so, let us proceed to scene III.
http://en.wikipedia.org/wiki/Shakespeare_(programming_langua...