It's quite similar to guitar solos, only with programming you have to use your brain. The most important thing is that it should have some emotional effect on me, rather than just, 'Oh, that's really clever.'
The exact measure of the progress of civilization is the degree in which the intelligence of the common mind has prevailed over wealth and brute force.