Is Coding Art?
J Thoendell stashed this in Tech
For the novelist Vikram Chandra, who spent years working as a computer programmer and consultant, this comparison holds some appeal. But, as he argues in Geek Sublime: The Beauty of Code, the Code of Beauty, his first nonfiction book, it's a rather facile argument, one that incorporates some unacknowledged biases, including the American tech industry's particular blend of nerdy arrogance and latent machismo. Yes, Chandra acknowledges, “coders—like poets—manipulate linguistic structures and tropes,” he says, and coders also “search for expressivity and clarity.”
But the virtues of what might be called “beautiful code” are different than those of beautiful art. “Beautiful code,” he writes, quoting Yukihirio “Maz” Matsumodo (the creator of the Ruby programming language), “is really meant to help the programmer be happy and productive.” It serves a purpose. Art, by its very nature, serves no purpose. Code is practical and logical. Art is about affect, associations, and emotional responses—part of what Chandra calls dhvani. The term, developed by Anandavardhana, a ninth-century Indian literary theorist, derives from a word meaning “to reverberate.” Dhvani is resonance or “that which is not spoken,” as Chandra says. Code is explicit. Art can be irrational and leave some of the most important things unsaid.