3 Distinguishing actions, calculations, and data
In this chapter
- Learn the differences between actions, calculations, and data.
- Distinguish between actions, calculations, and data when thinking about a problem, coding, and reading existing code.
- Track actions as they spread throughout your code.
- Be able to spot actions in existing code.
We’ve already seen the categories of actions, calculations, and data at a glance. In this chapter, we’re going to learn how to identify these three categories in real life and in code. As we’ve talked about before, it’s the first step in doing functional programming. By identifying these categories, you’ll ...
Get Grokking Simplicity now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.