Code is poetry

“Code is poetry” is the famous tagline and official motto of the WordPress platform, which started using this slogan around 2004-2005.  It reflects the philosophy of WordPress’s founders, and has since become a well-known part of WordPress’s identity and culture.

It highlights the idea that writing code is a creative art form—where logical, line-by-line commands are carefully structured to build something beautiful and functional, much like writing a poem.

The metaphor beautifully captures the artistry and creativity involved in programming:

Creativity and Expression: Coding requires imagination, inventive thought, and problem-solving, turning rigid programming languages into dynamic products.

Elegance and Simplicity: Good code is clean, efficient, and well-organized, much like carefully selected stanzas in a poem.

Just as poetry uses language to express ideas in a structured, meaningful, and often elegant way, code can be written with a similar emphasis on clarity, efficiency, and beauty. Good code, like good poetry, can be both functional and aesthetically pleasing, reflecting the skill and thoughtfulness of its creator.

Once you experience the beauty and artistry of writing code, you can never go back. The enjoyment and fulfillment you get from knowing that all the pieces came together so perfectly to form a beautiful solution to the puzzle is truly exhilarating.

The components that you write are just a small part of the bigger puzzle, which represents the contributions of many different teams – Business, Product, Marketing, and Creative, to name a few –  that provided their best efforts to help make your part of the puzzle complete. You are part of a team working together to create a masterpiece.

People outside the industry often think software engineering is about computers. It isn’t. It’s about creativity, problem-solving, and building something meaningful with other people. The technology changes, the programming languages come and go, but that feeling never does. That’s why I still love writing software after all these years. And that’s why I believe code is poetry.