Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
What is functional programming?


Functional programming is a paradigm in which programs are built in a declarative manner using pure functions that avoid shared state and mutable data. Functions that always return the same value for the same input and don't produce side effects are the pillar of functional programming. Many programmers consider this to be the best approach to software development as it reduces bugs and cognitive load.

  • Cleaner, more concise development experience
  • Simple function composition
  • Features of JavaScript that enable functional programming (.map, .reduce etc.)
  • JavaScript is multi-paradigm programming language (Object-Oriented Programming and Functional Programming live in harmony)


Javascript and Functional Programming: An Introduction

Master the JavaScript Interview: What is Functional Programming?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.