Programming
Programming is the act of composing computer instructions into programs using programming languages.
Principles to follow
- When in doubt, parametrize.
- Bundle globals into structs/records/classes.
- Favor pure functions.
- Encapsulate at the level of namespaces/packages/modules.
- Don't be afraid of long functions. Be afraid of needlessly shared state.
- Keeping usage code clean is more important than keeping implementation code clean