Just thinking about FP. I tend to avoid objects in favour of functions, but have NEVER read a good explanation of FP - it's always "avoidance of state". But state is all over FP, stored in closures. I *think* FP might actually be the avoidance of *long lived* state. Thoughts?
-
-
I would differentiate between i) necessary state, i.e. state that is related to the problem domain and thus independent of the language and ii) unnecessary state where FP can help get rid of.
-
For example the list of connected users is necessary state in a server for a messaging app. No language will help you get rid of it. It is also the most important state where side effects are the most crucial.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
