3 ms·
I am disciplined enough to keep my functions pure and use immutable data structures where they are useful. I try to apply each paradigm where it makes most sens
by _random_ 12y ago
I am disciplined enough to keep my functions pure and use immutable data structures where they are useful. I try to apply each paradigm where it makes most sense. What is a pure functional way of implementing GUIs for example to use instead of MVC/MVVM patterns?
- nmrm 12y agoThis SO post does a decent job and answering this question: http://stackoverflow.com/questions/2672791/is-functional-gui-programming-possible http://stackoverflow.com/questions/2672791/is-functional-gui... It's also worth noting that frameworks such as Java's Swing are somehow functional in their architectural style, if not in their implementation.
- PaulAJ 12y agoInstead, how about a pure functional way of doing MVC? http://www.haskellforall.com/2014/04/model-view-controller-haskell-style.html http://www.haskellforall.com/2014/04/model-view-controller-h...