|
|
|
|
|
by nightski
4155 days ago
|
|
But a function isn't really a function unless it is referentially transparent. Having HoF, composability, etc.. is all a direct result of referential transparency. Sure we can simulate these concepts in imperative languages, but the broken abstractions break down rather quickly since the laws are ignored. |
|
Really, I just want to sidestep the argument that is appearing all over this post: that "FP" is also this, and this, and this.
Sure. FP is terrifically poorly defined. The definition used in the article is rather more specific than what most people would say. But it has merits and should be discussed. Let's just not stumble over naming difficulties to do so.