React Tldr; Functional Programming in JavaScript: How and Why

twitter logo ・1 min read

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

Features:

  • 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.

Benefits:

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

Source: https://blog.bitsrc.io/functional-programming-in-javascript-how-and-why-94e7a97343b

twitter logo DISCUSS (2)
markdown guide
 

Hi Mariusz.

We encourage the entire article to be published on DEV.to (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.

 

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;

facebook.com/groups/2396587880554412/

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

Cheers!

Classic DEV Post from Jun 17

Should a button communicate the current state, the intended behavior, or both?

Mariusz profile image
Building the most demanding and challenging interfaces with React.
Join dev.to

Better understand your code.