- No state
- Pure Functions
- Should not depend on global variables outside the function scope
- No Side Effects
- Logic should impact within function scope only, should not have effect or impact outside
- Consider as Higher Order Functions if one of the below matched
- The function takes one or more functions as parameters.
- The function returns another function as result. (e.g. Combinator pattern)
siucng2222-c / javafunctional Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://www.youtube.com/watch?v=VRpHdSFWGPs&t=2592s