Code Poetry, revisited
[KA was not totally swayed by my first pass on "code poetry" so, with her permission, here is the exchange that builds out the concept a bit more.]
These things are certainly possible but what would be missing, at least in my stubborn take on it, is the creative aspect that attempts to incorporate human emotion/experience/transcendence into the
supernatural, etc.
I try and take this on without instinctively defending what is really a fledgling idea, and not automatically assume that code can be poetry. But I will try and address some of your questions to see how far the idea can go.
First, programming is inherently creative, and acts as a way of encoding human thoughts into formalized syntax. Terms like “transcendence” and “supernatural” would give me problems in analyzing any language act. So, to start let’s go back to the concept of writing as problem-solving. Clearly code can function in a literal analogue to, say, a short story that means to convey a certain idea or process. What may have to happen first is some tedious definition and delineation. For “code poetry,” do we mean adopting code in syntax, in grammar, in total or in homage?
Syntax: Write poetry in a particular programming language vocabulary (limited set of function-words), not necessarily in a structured programming form. Not likely to hold up well on its own, as programming syntax typically borrows from living language, particularly English, except lower-level languages like assembly. You would mainly get some funny words like Foreach and Gosub, maybe a phrase like Do while, etc. which would just make it sound archaic.
Grammar: Write poetry in the style of a program, with indenting, grouping, internal cross-reference – some of which falls under “syntactic sugar”, while other requires some understanding of the logic behind how a program flows, which is frequently not top to bottom. You could potentially do this without a particular code syntax, which is even practiced in programming as “proto-code” where you design a program functionally without writing in actual code. I can see some interesting writing experiments here simply borrowing a few concepts from programming without giving up natural language – function blocks, iteration, addressing, flow control. As simple throwaway examples:
If (I was young again) then I would see the world with onion eyes.
or, more procedural:
While (the sun shines)
the world turns its face from side to side.
Until (death is come) {
Life continues apace;
Death++;
}
...yet Death remains a stubborn local variable,
and instantiated out of frame.
The latter being both loops that continue until a trigger state is defined. The notation ++ in some languages means “to increment a value by 1,” and the conceit is that Death has a known final value but only the wider program, not the local programmer, knows its final amount.
(Please don’t judge the idea by the examples!)
Incidentally, each logical block of programming language is called an “expression.”
Validity: Here’s where the idea would need formality. Poetry can subsume elements of code grammar, as above, and stay essentially intact. But as an independent poetic method, there is a tension between a work’s validity as poetry and as a program. If a program expresses an idea, in the form and language of something like Ruby, but does not compile and generate a result, what is that? What if the code does not represent poetry in itself, but generates a poetic effect (such as by requesting input from the reader/user), distinguishing the map from the territory. Poetry succeeds by entangling the reader in its imagery; can a program do the same?
So, the idea has multiple facets, starting with just the idea of poetic form following programming conventions as another useful constraint, like a sonnet or sestina. Then, possibly code can become independently poetic if written to that purpose. And finally, code can become a means to the end of poetic work, in generative ways that the comparatively procedural written language (which generally only goes in one direction, from start to finish) cannot emulate.
When we create the intelligence that supercedes us, will it write code poetry, and will we appreciate it?
Can programming language ever really be “fiction” in the sense that we mean the term literary?
If you mean fiction as simply “not true”, then perhaps not. But if you mean as “a potential space not limited by fact and literal observation,” then all programming is an act of creative fiction – you create structures, meaning, process, and at some extremes an entire ongoing environment separate from describing what already exists.
…but I think you would be very hard pressed to win the argument that anything written in computer code could play on the same level as say Kafka or Byron.
That’s the conceit I have trouble accepting. The literacy or receptivity of the audience does not make a compelling criterion for artistic endeavor. Plus I think you may be reacting to the naïve notion of programming as poetry, namely taking extant code off a line printer and reading for inspiration. Certainly it could be more challenging to read, but arguably Kafka’s surreal bureaucracy (an interesting choice, and a potential seed for another idea – can legal prose, bureaucratic doublespeak, even IRS forms be made poetic?) and Byronic verse are both distinct exercises in challenged reading.
What do you mean by “play on the same level”? In terms of appeal, range of expression, effective messaging? Of course you cannot posit brilliance in a form as a justification for art. Who knew when we first made shadow shapes in caves that we would get Shakespeare?
The mechanics have some mirror qualities, granted, but the Heart of it needs to be different for poets and authors to still feel they have a special purpose in cataloging the vastness and uniqueness inherent in the expressive qualities of their craft.
I don’t see anything in that statement incompatible with the idea of programming to a poetic purpose, as opposed to programming just being gainsaid as a poetic act. It would have to be pursued to that end, just as a writer must intend to be poetical and not prosaic. And potentially code poets have a uniqueness in capacity that is absent without them.
Code poetry is cool, but is it beautiful?
Ask a programmer (the only built-in audience for ‘pure’, in-the-wild code spotting) if they have ever seen beautiful code. “Elegant” is another common adjective, just like in mathematical and physics circles that pursue proofs that are “beautiful” solutions to theoretical problems.
Does it DO anything that has a real impact on who we perceive ourselves/world/each other to be?
Does all poetry meet this requirement?
Can it illicit the same kind of response that we [associated] with music– can it bring us to tears at the mere thought, anticipation, of its “verse”?
That’s a distinction of great art, not a qualification for poetic form. That response transcends media – music, writing, film, dance – and cannot be made a prerequisite for poetic expression, else most poetry would cease to be such. I do think great code poetry can cause an opening of the mind, revealing a concept or truth in a moment of eureka.
As far as a genre– sure. Anything written in a new form, with enough steam behind it, can be dubbed a new genre.
And maybe that’s all it is – an experimental writing form. Again, I am just surprised I have not seen more about it, as it seems a logical extension of our increasingly code-defined world. And code continues to become more egalitarian with the expansion of markup languages, and milder languages like Ruby – just as poetry was once the exclusive reserve of educated, landed gentry not up to their elbows in dirt farming, but gradually became available to every schoolchild.
I really think the idea can hold up to some scrutiny, although how much and how far is still unclear. Of particular importance is setting the outlines for it – is it code that happens to be beautiful (found poetry), poetry written more like code (formalism), or code and poetry merged as a discipline? And then, do we already start to stifle a potential art by drawing lines around it, as always the conflict arises between creativity and study of it?