码迷,mamicode.com
首页 > 其他好文 > 详细

FRP represents an intersection of two programming paradigms.

时间:2019-10-12 20:33:18      阅读:76      评论:0      收藏:0      [点我收藏+]

标签:think   out   code   func   intersect   pre   rar   nbsp   tap   

FRP represents an intersection of two programming paradigms. 

 

Functional programming

Functional programming is a programming paradigm where you model everything as a result of a function that avoids changing state and mutating data.

 

Reactive programming

Reactive programming is the practice of programming with asynchronous data streams or event streams. An event stream can be anything like keyboard inputs, button taps, gestures, GPS location updates, accelerometer, and iBeacon. You can listen to a stream and react to it accordingly.

 

 

FRP is the combination of functional and reactive paradigms. In other words, it is reacting to data streams using the functional paradigm. FRP is not a utility or a library — it changes the way you architect your applications and the way you think about your applications.

 

https://www.freecodecamp.org/news/functional-reactive-programming-frp-imperative-vs-declarative-vs-reactive-style-84878272c77f/

FRP represents an intersection of two programming paradigms.

标签:think   out   code   func   intersect   pre   rar   nbsp   tap   

原文地址:https://www.cnblogs.com/feng9exe/p/11663521.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!