Programming ruining my memory?

by
in ask on (#3JW)
Over the past few months I've been successively spending more and more time working on developing a computer game. Now, it was hardly noticeable at the beginning, but as time has gone on, I've been having more and more trouble remembering things. Sometimes it's in my every day life, like, I forget where I'm going, but more often than not, I'll be working, and I'll switch between two files, and then completely forget why I did or what I'm doing in the new file.

Has anyone had this problem? Or do I just have a case of programmer's-island-fever?

Re: Reading your old code (Score: 3, Insightful)

by rocks@pipedot.org on 2014-05-04 16:36 (#1C2)

One of the things with programming is that you usually need to interact with way more functions, libraries, and concepts than you can retain or burn into your memory. Your own code almost always falls into this category because you only hung out with the implementation while doing it and so it is not usually part of your embedded knowledge.

I have learned that "clever" code is almost never good long term unless you can implement it behind an interface and the underlying implementation rarely needs to be revisited. Otherwise, you're almost always better off writing transparent code with transparent naming conventions and functions structure whose purpose and behavour and layout are easy to "reoccupy" at a glance.
Post Comment
Subject
Comment
Captcha
What's 12 - 4?