Mente

frustration.htm

Notes on Frustration

Frustration and programming are tightly related. There's something about trying to make something work, and it not working that causes frustration in many people.

Wanting your program to work, doing everything right, yet something doesn't seem to work the way you expect it to. This seems to be aggravated if you drink coffee right before.

I've been trying to learn C and have found it challenging to learn how the memory allocation works. After hours implementing a simple hash table realizing that it doesn't work for my use. Spending hours trying to debug it and realizing it was a problem in how I understood C and how it manages memory.

In the Nth hour debugging, you realize maybe you need to restart your project. Try something else. Giving up.

This is what I assume a common experience among developers; although I'm sure it replicates in many other professions. I can imagine too, the frustration of a wood worker trying to get the right joint in place and accidentally breaking the wood slab.

So what is one to do?

Here are some things I've found helpful to remember in times of frustration coding.

Frustration seems to be an integral part of learning. If we're assumed to be learning for a long time I think it's important to build a good relationship with it. Not fall into the thinking traps associated with it. See when it happens and understand what are the things that help you work with it.