Alex Moreno
← All posts

What a year of journaling taught me about debugging

· 1 min read

Writing down what I expected before running a command turned out to be the most useful debugging habit I have.

For a year I kept a plain-text work journal. The most useful entries were not the summaries at the end of the day. They were the predictions.

Before running a command I wasn’t sure about, I wrote one line: what I expect to happen. When reality disagreed, the gap between the two lines was almost always the bug.

It feels slow. It is faster.