Chapter 4Transforming Data
If you’re creating business applications, you deal with data all day, from breakfast to dinner and then some. You have to find the average, min, and max; query for the presence of some information; transform one collection into another; slice a collection; group values; and the list goes on.
If you get paid for the number of lines of code you write, then the imperative style is quite suitable. We can write more code and then spend more time trying to figure out why it doesn’t work. Some call that job security, but it’s that something we’ll soon dread.
You’re here because you care about results and not the amount of effort. You want to write less code to get the work done and then easily make changes to it when the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access