Think about efficiency of code holistically¶
When working on code holistically, thinking about the efficiency of your code holistically can help avoid falling into common traps or anti-patterns. There are several parts to how efficient code is, and missing one or more out of your view can result in a limited view.
Things to think about include the following:
- The time it would take to type out
- The time it would take to debug in the future
- The time it would take to modify
- The time it would take to refactor and use elsewhere
- The time and work it would take to interop with other code
- The cumulative time spent working on the code from everyone.
Backlinks¶
- Many Lenses
- Holistic Code
- Understand software by building mental models of the main concepts
- When trying to understand software. Use the fact that computers are mostly deterministic to help you build a solid mental model around how the different concepts in a given piece of software interact. This can help to understand the system holistically, rather than building up disparate rules.
- Improving Your Coding
- Semantic Compression
Backlinks¶
- Think about efficiency of code holistically
- Many Lenses
- Understand software by building mental models of the main concepts
- When trying to understand software. Use the fact that computers are mostly deterministic to help you build a solid mental model around how the different concepts in a given piece of software interact. This can help to understand the system holistically, rather than building up disparate rules.
- Improving Your Coding
- Holistic Code
- Semantic Compression