Programming
This page will link to programming examples and expositions.
Programmers Rules
- Know your Goal
- What is it that the program is supposed to do? If you can't express the goal of the code, then you can't design or build it. Get a clear understanding of the purpose of the code and the results it is supposed to generate before you try to build it.
- Know your Data
- If the data can't support your processing, it won't matter how much smarts you put into the code.
- Write to a narrative
- In plain language, describe each component's operation. Use that narrative to guide you in writing the corresponding code.
- Subdivide and Conquer
- When a component's description becomes too complex to follow, break that component up into simpler tasks, and describe each task. When the descriptions become simple enough (but no simpler) to follow, write your code.