In this blog, we are going to cover 10 fundamental elements of functional programming.

  1. Pure functions and Side effects.
  2. Referential transparency.
  3. First-class function and higher-order function.
  4. Anonymous function.
  5. Immutability.
  6. Recursions and tail recursion.
  7. Statements.
  8. Strict and Non-Strict (Lazy) evaluation.
  9. Pattern matching.
  10. Closure.

Let's start understanding these concepts in detail.

1. Pure functions and Side effects

A pure function is a function that depends only on its declared inputs and its internal algorithm to produce its output. …

Anshul Malhotra

I would describe myself as a keen learner in data science. I am enthusiastic & motivated to apply my skills in a real-life project which can impact people.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store