Dreaming About Code

I was taking a late morning nap on Sunday, falling in and out of sleep. And during that time, I had two, possibly three separate dreams about code related to my work.

There wasn’t anything specific that I recall, beyond the fact that a function was returning a value that wasn’t expected. And that a particular unit test was failing.

I remember the incorrect value showing up as red text in the function (which is weird). But it was an indicator that something was off, and that it needed to get fixed.

I’m not sure if this is a good or bad thing. On the one hand, I like to think of it as a positive, similar to how those learning languages will oftentimes dream in a new language… indicating that it has become a familiar pattern to their brain.