Functional programming uses immutability to improve code quality and understandability. Chapter 1 offered a brief overview of immutability, and this chapter will go into depth on this topic. It will also present some case studies.
What Is Immutability?
According to Google, immutability means “unchanging over time” or “unable to be changed.” So, the immutable types are objects (or data structures) that are not changeable. You may ask, does this mean they are not changeable ...