[] Function formula based programming paradigm shown

Functional

  • It originated in category theory. Its birth is the "academic" influence the outcome "program areas" in.
  • Functional requirements for the essence is oriented, pure function to complete the function evaluation. It is a mathematical operation.

The basic operation mode: "currying" and "synthetic"

  • Functional programming has two basic operations: Synthesis and currying.
  • Math requirements "stateless programming" function itself can not have variables that can be reserved.
  • Required to achieve one input to produce an output, the same input produces the same output.
  • Currying (Curry) and synthesis (Compose) allows multi-step function and multi-parameter set, to generate a SISO new function.

Details

Guess you like

Origin www.cnblogs.com/mazhaokeng/p/11518678.html
Recommended