Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?


This SO post does a decent job and answering this question:

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.


Instead, how about a pure functional way of doing MVC?

http://www.haskellforall.com/2014/04/model-view-controller-h...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: