The way they write functional programs for decidedly non-functional problems is through a trick called a monad, which I will not explain and nobody understands anyway, but the point is, in the hands of a very clever programmer, functional programming “can” be used in many more places than you would naively expect.
And that is really the problem. It works at first and then it keeps working until suddenly it doesn’t. And this
communismfunctionalism spreads ideologically until yourcountrycodebase is saddled with debt and nobody can bail you out because you have a lot of monads and nobody can understand them.
#structs #classes #functional_programming #imperative_programming #programming #monads #apple #siwft #programming_languages #software #development #design