Programmers use different techniques to achieve abstraction and hide complexity e.g Object Oriented techniques does exactly that. They do so because programs grow at fast pace and they quickly become complex. Humans are intelligent but they can handle complexity to a particular level. So basically Functional programming is also used to hide complexity of programs using functions.
Here the word “functions” is important because you will be hiding complexity using functions. Now I will explain some important functional programming concepts. First you need to understand what’s Function Application?
In some pure functional languages, there’s no concept of function call. We actually apply a function to data instead of calling it. In JavaScript you can actually both call or apply a function. Let me give an example of that...
Your new post is loading...