Code poetry is poetry written partially or completely as functional pieces of software code.
Back around 2020, I followed now defunct Source Code Poetry, organised a few code poetry jams at my then-workplace and participated in the competition in 2020 with my poem written in Python:
# Submission for Source Code Poetry 2020
# https://www.sourcecodepoetry.com/
# Author: Juha-Matti Santala / https://hamatti.org
# Verified to run with Python 3.8.2
here = ['darkness', 'rainy', 'cloudy']
there = hope = 'summer will come'
while 'darkness' in here:
def light(a_candle): ...
def call(a_friend): ...
def put_on(some_jazz): pass
if there is hope:
'take a'; breakI’m very proud of it!
In Stanford University, they used to run Code Poetry Slams which is how I first learned about the art form.