5 Improving the design of actions
In this chapter
- Discover how eliminating implicit inputs and outputs can enhance reusability.
- Learn to improve the design of our code by pulling things apart.
In the last chapter, we learned how eliminating all implicit inputs and outputs can convert an action into a calculation. However, you can’t eliminate all of them. You need some actions. In this chapter, we see how even eliminating some of the inputs and outputs can improve the design of actions.
Aligning design with business requirements
Choosing a better level of abstraction that matches usage
The refactoring from actions to calculations that we did ...