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.
- Clean usage code is more important than clean implementation code
Safety Integrity Level 4 (SIL4)
SIL4 (Safety Integrity Level 4) is the highest level of safety integrity defined in the IEC 61508 standard for functional safety. Achieving SIL4 requires rigorous risk assessment, comprehensive safety lifecycle processes, and the implementation of multiple layers of safety measures.