Verse as a program code: contemporary experience and analysis methods

●1 ●16 ●48
calendar_today ago • schedule4 min read

If you've ever wondered whether a poem can also be a working computer program – and what that duality reveals about language, creativity, and the boundaries between art and technology – this episode is for you. In this installment of In-Depth with Academia, we explore the fascinating world of code poetry: poetry written in the form of actual computer code that could, in theory, be executed by a machine. This is not poetry about computers or programmers, nor is it computer-generated literature or digital poems that use technology for display. Instead, the poem itself is the code, and the code is the poem – a duality that opens up new possibilities for expression and challenges our understanding of both art and technology. The video begins by asking why anyone would write poetry as code. The answer lies in the shared nature of both forms: they are sequences of symbols carefully arranged for meaning and effect. For programmers, writing poetic code can be a therapeutic, creative outlet and a way to showcase mastery. For poets, code offers new structures and constraints that spark innovation. The practice also reflects our increasingly digital world, where boundaries between disciplines are constantly being redefined. Several real examples bring the concept to life. One poem written in Java can be read aloud with a rhythmic meter while still functioning as a program. Another, crafted in CSS, describes an ocean and a boat through code that also styles a webpage. There are even poems made from lists of server error codes that, when arranged thoughtfully, evoke human emotion and narrative. These examples show how code poetry can be both technically correct and artistically expressive, blurring the line between function and form. The choice of programming language matters significantly. Some languages, like Python or Perl, are high-level and easier to read, making them accessible to wider audiences. Others, like Assembly, are low-level and more technical, appealing to a niche group. The language chosen signals whether the poet wants to reach many or just a select few – similar to choosing between writing in Latin or a modern language in medieval times, each carrying its own cultural weight. Another key aspect is functionality: does the program actually do something meaningful, or is its purpose purely poetic? Some code poems perform actions like sorting lists or generating names, while others exist only to be read and appreciated for their structure. The balance between practical function and artistic intent is a hallmark of code poetry. A fascinating question arises: can code poetry exist without relying on natural language? Most code poems still use English words for variable names or comments, making them accessible to those who know the language. But some poets experiment with pure code, aiming for universality – so that anyone familiar with the programming language, regardless of native tongue, can appreciate the poem. This pushes code poetry closer to visual arts, where meaning transcends spoken language. The video also highlights the subculture that has grown around code poetry, with events like Stanford's Code Poetry Slam inviting creators to showcase their work using programming, markup, and styling codes. The community is small but growing, united by a passion for exploring new frontiers in literature and technology. In conclusion, code poetry is more than a passing trend – it's a testament to human creativity in the digital age, blending logic with lyricism and challenging our ideas of what poetry can be. While the novelty may fade as the practice matures, the legacy will remain: a new artistic form born from the language of machines.

Why this matters for developers:
this is a direct exploration of programming languages as expressive media, not just tools for utility. Code poetry forces developers to consider aesthetics alongside functionality – variable naming, indentation, syntax choice, and even error messages become artistic decisions. The examples in the video (Java poems with meter, CSS that describes an ocean, server error code lists that tell a story) demonstrate how technical correctness and artistic expression can coexist. For developers interested in creative coding, esolangs, or the philosophy of programming, this offers a fresh perspective on what code can be. It also raises practical questions about readability, audience, and the cultural connotations of different languages – insights that are relevant to API design, documentation, and even team communication. The community events like Code Poetry Slams show how technical skill can be celebrated in a performative, collaborative setting, which might inspire new forms of developer engagement and education.

What you'll take away:
a clear understanding of what code poetry is and how it differs from other digital or technology-themed literature. You'll see concrete examples across multiple languages (Java, CSS, server error codes) that illustrate the range of possibilities. You'll learn why language choice matters – not just for execution but for audience and cultural resonance – and how functionality versus pure poetic intent shapes each work. You'll also gain insight into the emerging subculture around code poetry, including events and community values. Most importantly, you'll walk away with a new appreciation for programming languages as expressive media, and perhaps a desire to experiment with your own code as a form of creative expression.

Watch the full episode and ask yourself: if you were to write a poem in your favorite programming language, what would it say, and who would be your audience? Could a well-named variable or a carefully structured loop carry emotional weight? And if code can be poetry, does that change how you think about your daily work – not just as problem-solving, but as a form of writing?
Stay curious – and maybe try writing a haiku in Python, just to see if the interpreter appreciates it as much as you do.

Want more #creative-coding & #creative-coding deep dives?

Join 6,107+ developers sharing real benchmarks, code breakdowns, and projects. Free forever.

More Posts

The Esoteric Realms of Code

nevmenandr - Nov 14

Dozens of email accounts: learning AI coding tools as a student

rahuldk1105 - Oct 27

Local-First: The Browser as the Vault

Pocket Portfolio - Apr 20

The Audit Trail of Things: Using Hashgraph as a Digital Caliper for Provenance

Ken W. Algerverified - Apr 28

I’m a Senior Dev and I’ve Forgotten How to Think Without a Prompt

Karol Modelski - Mar 19
chevron_left
1.3k Points • 65 Badges
36Posts
11Comments
17Connections
Digital Humanities researcher

Commenters (This Week)

1 comment
1 comment
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!