Let’s think about when we want to modify variables. There are 2 general cases that come to mind: multi-valued changes (e.g. changing a single value of an object or record) and single-valued changes (e.g. loop counters).
So You Want to be a Functional Programmer (Part 1)
Charles Scalfani

read till here

Like what you read? Give Shobhit Singh a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.