A Note on Python & Programming Guidlelines
Today I had to go through the mundane task of fixing other programmers code. Not that I’m a better programmer, but nothing is worse then going through unorganized, undocumented, and messy code.
My biggest hint to any new programmer is to be as organized as possible. Organization does take time. Each programmer really does evolve with experience, but most newbies just don’t take the extra time to be organized. Believe me, when I look at code I made two or three years ago, I really kick myself for being stupid and lazy. I end up rewriting programs or spending extra time figuring out algorithms (The old algorithms are usually inefficient to boot!).
The other reason I’m writing this article (kinda relative to the above comments) is because I have been meaning to share the following document that I found for python coding guidelines. Most of the points made in this document can be applied to any scripting language. It’s not that long, but I would recommend at least skimming it.
http://jaynes.colorado.edu/PythonGuidelines.html
If this document does not help, I would recommend looking at other highly experienced programmers code to see how they keep organized. Take a look at a few open source projects, I guarantee it will help.