See your code in your mind

Are you a visual person? Even if you aren’t, have you ever been so clear about your algorithms and your logic and your code, that you see that code in your mind’s eye? You feel like if you close your eyes, the code is etched on the back of your eyelids.

Sometimes, after I’ve thought through the programming logic, the code just started to appear. Line after line of code. And I knew that if I didn’t have it on the screen, it would disappear. So I typed. My fingers danced around the keyboard, feverishly capturing the slowly fading code from my mind.

Racing across the screen were the characters I knew, from somewhere deep within me, would form the correct code.

Depending on the complexity of the problem, the elusive code could very well be one line. But it’s a line of code that came from the efforts of careful thought and much deliberation. The vision of the line of code could even come with syntax highlighting!

I guess in the end, it’s not really about whether you can see your code, but whether you’re confident about your code. Closely related is your sense of responsibility, but that’s another post. So, are you confident about that line of code you just typed?

Comments are closed.