Search posts, tags, users, and pages
Manigandan Ravi
Hey first of all good explanation. But I don't understand why we should not iterate using for or while loops. Why you prefer map, reduce, filter etc,.
Sayuri Kamble
That's one aspect of Functional Programming. Map, reduce, filter are all functions. Which are short and clean to read.
For / while loops are long and difficult to read and also a bit hectic.
Let me know if you need more clarification !
Got it thanks..!! Sayuri Kamble