4 ms·
Can anyone point to an IDE or GUI programmed from the ground up in an FP style? The declarative simplicity of FP makes it a joy, but I find myself skeptical th
by smitty1e 7y ago
Can anyone point to an IDE or GUI programmed from the ground up in an FP style?
The declarative simplicity of FP makes it a joy, but I find myself skeptical that flattening the OOP hierarchy into what would be a right jolly long list of pure functions will prove practical.
- pjmlp 7y agoNot really. Common Lisp ones make use of CLOS or similar concepts. For Haskell you have Leksah, but it uses Gtk and Typeclasses which allow for polymorphism, a basic OOP principle.
- sixbrx 7y agoI'd call type classes a non-OO form of polymorphism, it doesn't become OO just because you have polymorphism (if that's what you're implying). I think of OO as late-as possible dispatch, whereas type classes are compile time only in most implementations.