164 - Explicit over Implicit
While Solidity has progressively adopted explicit declarations of intent for e.g. with function visibility and variable storage, it is recommended to do the same at the application level where all requirements should be explicitly validated (e.g. input parameters) and assumptions should be documented and checked.
Implicit requirements and assumptions should be flagged as dangerous.
- Favor Explicit Over Implicit
- Solidity -> Explicit Visibility/Location
- App -> Explicit Spec + Regs + Validation + Docs
- Implicit Regs + Assumptions -> Dangerous