Functional programming is a particular kind of declarative programming. A pure function is a function which given the same input, will always return the same output. Pure Functions: are simple and reusable.Avoid Mutability: you must avoid changing the data. Don't Iterate: you can use higher-order functions like map, filter, reduce, find.

2m read timeFrom dev.to
Post cover image

Sort: