Functional Programming is the use of Pure Functions to create extremely explicit and easily testable code. By avoiding sharing/mutating state and reducing side-effects FP lowers the cognitive burden of adding functionality to a growing code base. Pure functions make testing easier, any good codebase has tests and when maintaining tests you want to make sure your testing all possible code paths.

1m read timeFrom blog.imnick.dev
Post cover image
Table of contents
🤔 What is functional programming?🤨 Why?
3 Comments

Sort: