- DRY (Don't Repeat Yourself)
- Single codebase for similar functions. Create parameters to configure / enable specific functions but keeping a single code base for better code development and maintenance. Examples: Loading / Offloading. Think about instances, for example rather than 87 different functions create 3 instances.
- Simplicity and less lines of code
- Test the code as early as possible. With the help of simulation, test all the possible cases and failure modes / interrupts (Run, Hold, Restart, Stop, Abort).
No comments:
Post a Comment