Demystifying Functional Programming (Part 1)

1 · Walmart Labs · Dec. 13, 2019, 1:18 a.m.
Summary
Image Credit: https://www.tes.com/lessons/oyJgbl4VmcFTag/function-notationFunctional programming(FP) is a way of writing software applications using only pure functions and immutable values. Or Let’s say FP is a mathematical oriented way to write code. So, what do I mean by Pure Functions?f(x) => x+1 ; This is a pure function as it will result in same output for the same input provided as many times as evaluated!A pure function doesn’t change the state or change “the outside world” — the world o...