14- Process for the functional

First, programming ideas / paradigm

Refers to a programming paradigm programming routine, into object-oriented , functional , object-oriented , etc.

 

Second, process-oriented

2.1 Concepts

"Process-oriented" core "process" the word "process" refers to the steps to resolve the problem, which is to do and then what ......, based on process-oriented development process is like designing a pipeline, is a kind of a mechanical way of thinking, it just fit the computer's operating principle: the implementation of any program eventually need to be converted into a cpu instruction execution pipeline according to the process of scheduling, that regardless of what language, no matter what kind of programming paradigm based on the design of the program, the final execution of all procedural.

Pros: complex processes of the problem, and then simplify

Disadvantages: scalability is very poor

2.2 application scenarios

1, not all of the software requires frequent changes: for example, write a script

2, even if a software requires frequent changes, nor does not represent all the components of the software requires the change together

 

Third, functional

Functional programming with functional programming is not so simple, but the operation is regarded as a computer operator in the mathematical sense, than process-oriented, functional, pay more attention to the implementation process rather than the result of the implementation, on behalf languages: Haskell, Erlang . The python is not a functional programming language, but we still provide a lot of good functional programming features such as lambda, map, reduce, filter

 

Guess you like

Origin www.cnblogs.com/zhubincheng/p/12577625.html