|
|
|
|
|
by mr_eel
4818 days ago
|
|
What is being described here is essentially first-class support for functional reactive programming behaviours. That the post misses this detail is curious considering that Elm is mentioned within the first paragraph; Elm has first-class support for behaviours, given that it's an FRP centric language. I would suggest a closer study of Elm and FRP in general. |
|
I wanted to compare signals to that of event emitters, and show how they're each like a single event. This will hopefully help to make others familiar with the applications of signals.
I think FRP, or SOP, is brilliant and should be implemented in JavaScript. There isn't any non-benefits to having signals in a language, especially one that's so heavily dependent on events and functions like JS.