DEV Community

Cover image for ⚡97 Things Every Programmer should know Part 2
Devarshi Kansara
Devarshi Kansara

Posted on • Edited on

⚡97 Things Every Programmer should know Part 2

⚡ 2. Apply Functional Programming Principles

⚡ by Edward Garson

⚡Mastery of the functional programming paradigm can greatly improve the quality of the code you write in other contexts. If you deeply understand and apply the functional paradigm, your designs will exhibit a much higher degree of referential transparency.

⚡Referential transparency is a very desirable property: it implies that functions consistently yield the same results given the same input, irrespective of where and when they are invoked. That is, function evaluation depends less- ideally, not at all-on the side effects of mutable state.

⚡Do you agree with this statement? Happy Coding!

Top comments (0)