programming advice, all caps, regret Show more
I'm going through an old (~1 year) codebase that I just haven't had time for, and, I can't stress this enough:
DESIGN YOUR CODE WITH A NAIVE DEVELOPER IN MIND. Yes, even if you're in academia; yes, even if you plan to be the only one working on the project.
Often, this will mean coming up with a plan for the directory structure *before* you even write a single line of code. This also means keeping track of the dependencies in a readme.