DEV Community


Posted on • Updated on

React Tldr; Functional Programming in JavaScript: How and Why

Functional Programming is a programming paradigm where you mostly construct and structure your code using functions.


  • First-class citizens functions: you can always insert functions inside a function without any restrictions present.
  • A higher-order function: a function that gets a function as an argument.
  • Function Composition: an act of composing/creating functions that allow you to further simplify and compress your functions by taking functions as an argument and return an output.


  • It doesn’t have side-effects and it’s immutable
  • It’s clean, straightforward and KISS


Top comments (2)

dance2die profile image
Sung M. Kim

Hi Mariusz.

We encourage the entire article to be published on (if you have proper rights), with a linkback if appropriate. Otherwise, we recommend original material, such as an original commentary on the article.

From the Terms of Use:

Users must make a good-faith effort to share content that is...not designed primarily for the purposes of promotion or creating backlinks. Additionally, posts must contain substantial content — they may not merely reference an external link that contains the full post.

Posts that are simply intended to encourage readers to view an external resource are discouraged.

Thank you.

maniekm profile image

Hi Sung,

thanks a lot for info. Didn't have any idea, nor bad intentions.

I was actually missing some sort of tldr, as more and more content is made day by day, and it's harder to decide what's worth the attention.

Everyone then is welcome to join my FB group with React TLDR;

Again, thanks for the reminder. Won't happen again.