Re:Functional Programming Doesn’t Work (and what to do about...
by foldr on Wednesday December 30, 2009 @05:30AM
(#1022252)
>Modifying the language spec...is that pure or impure I wonder?
Neither, it's completely orthogonal to the pure/impure distinction.
Re:Functional Programming Doesn’t Work (and what to do about...
by ajross on Tuesday December 29, 2009 @12:58PM
(#1020888)
Remember that the "FP approach" can be used in so-called "imperative" languages too. The reverse isn't as true.
Re:Functional Programming Doesn’t Work (and what to do about...
by omouse on Tuesday December 29, 2009 @01:06PM
(#1020909)
The reverse is true. Just modify the language. I don't see why people are insisting on this "purity" in approaches. It's obviously leading to difficulties.
With what little information we have in this example, it would be best to modify the language so that it includes those two low-level functions in its specifications and make those global variables they require.
Modifying the language spec...is that pure or impure I wonder?