3 ms·
Mutable State is to Software as Moving Parts are to Hardware :-) [link redacted] I find personally that there are some areas where FP shines -- anything that
by kristiandupont 3y ago
Mutable State is to Software as Moving Parts are to Hardware :-)
[link redacted]
I find personally that there are some areas where FP shines -- anything that is or could be a CLI that takes some input and returns some other output is well suited. A GUI program is the manipulation of state, and it is poorly suited, though many sub parts might not be.
- jamil7 3y ago> A GUI program is the manipulation of state, and it is poorly suited, though many sub parts might not be. If you're manipulating state that doesn't drive any outputs, then your program doesn't do anything useful. I think they're not all that different.