Separate pure computation from effects
In cart Checkout
Versions
A version describes what work must do to comply with the rule. Major: work that complied with the previous version could fail this one. Minor: it still complies, and this version adds guidance. Patch: it still complies, and nothing is added. How versions work
2 versionsCompare versions
- Keep pure computation inside complete module operations without making callers coordinate implementation details.
- Add the rule.