| Flow-driven Programming |
Website Links For Programming |
Information AboutFlow-driven Programming |
| CATEGORIES ABOUT FLOW-DRIVEN PROGRAMMING | |
| programming paradigms | |
|
The direct opposite to flow-driven programming is Event-driven Programming ; in this paradigm, the program is not in control of when it receives input - it merely processes the data received through a Callback or similar and takes the needed course of action. Due to the prerequisite state constraints, event-driven programming tends to be favoured by Purely Functional languages, wheras flow-driven programming is embodied better in Imperative Programming languages. However, Monads have proven powerful enough to use an imperative style in a purely functional language with a small amount of purely syntactical (ie, no semantic, only providing a nicer way of writing what could be written before) sugar, allowing a more flow-driven approach. In fact, it is possible to view Monadic Binding itself as a flow mechanism, so that monadic programming and flow-driven programming coincide is no great suprise. |
|
|