Rules of Dev
These are the rules that I use while developing and creating tools, I have them written and kept updating thme along my years of developing (since 1997), I want to document them and remind myself of them every now and then.
Rules of dev work I follow:
Tab used in alignment is 3 spaces tab
In a statement of LET (example below) make sure you had the equal sign at character 25 (mainly in Notepad++)
If it is not 100% perfect, it is not acceptable, or only the best is good enough.
User is the final judge, the tool has to be organized, or structured from user perspective, not developer perspective. (more on that later)
If need to use code more than once, then move to function.
If a string or number needed to be used more than once, the use variable, or constant.
Alignments to show flow of loops, ifs, withs, etc..