The Millions

To Your Left Is Coding, to Your Right Is Safety: Programming Stories

1.
The logic of novice programming goes something like this:

Run function (x, y)

If x is greater than y:

Do this

Else if y is greater than x:

Do that

Else:

Something else happens.

I quickly learned that computers don’t like choice, and they don’t like the unexpected. If you fail to anticipate every scenario or condition—say, that x and y might be the same number—it will shout at you and stop working. If you tell the computer that x is A and y is 6 it will shout at you and stop working. As a bad novice programmer, I know this from experience. Treat the computer like someone you don’t trust to turn off the lights and lock the door without careful instructions. Be that micromanager who tells his employee what font to use and how to stack the coffee cups. Forget all you’ve heard about AI and machine learning and algorithms. Novice programming is a bit like running army drills. First do this, then that. Then loop back and do it again.

I have a humanities brain, or at least it’s trained that way. I told myself I was a bad programmer could not resist a touch of Victorian sentiment. The marriage was not simply a logical consequence of the death of the first Mrs. Rochester. First this, then that.

You’re reading a preview, subscribe to read more.

More from The Millions

The Millions4 min read
Kiley Reid’s Real World
“I think it’s a huge detriment to literature that the MFA programs are the most consistent pathways to publication." The post Kiley Reid’s Real World appeared first on The Millions.
The Millions6 min read
Deafness Is Not a Silence: On the Suppression of Sign Language
When I started learning British Sign Language as an adult, and ditched my hearing aids for periods of time, I didn’t find silence waiting for me. Instead, silence simply ceased to exist. The post Deafness Is Not a Silence: <br>On the Suppressio
The Millions5 min read
Yomi Adegoke Contains Multitudes
People struggle to hold multiple ideas in their heads at once, and so attempt to pigeonhole female writers, but I am very comfortable leaning into duality. The post Yomi Adegoke Contains Multitudes appeared first on The Millions.

Related Books & Audiobooks