Programming is writing

A rock in the sea, surrounded by a crust of thin ice.

When you write programs, you have two audiences: the humans who read the code and the computers that analyze and execute the code. The both audiences have to understand the code.

Humans read programs like a hypertext1: not from start to end but by jumping around following references.

For humans, the careful choice of terminology is of utmost importance. Consistency matters. The computers do not care. They care about the grammar, though.

Elegant programs are easy for humans to understand and easy for computers to execute.

Psst: Math is programming, ergo math is writing.


  1. A well-known example of a hypertext is Wikipedia↩︎


About the author: My name is Miikka Koskinen. I'm an experienced software engineer and consultant focused on solving problems in storing data in cloud: ingesting the data, storing it efficiently, scaling the processing, and optimizing the costs.

Could you use help with that? Get in touch at miikka@jacksnipe.fi.

Want to get these articles to your inbox? Subscribe to the newsletter: