[Haskell-cafe] Why Haskell is beautiful to the novice
will.yager at gmail.com
Mon Aug 31 02:47:45 UTC 2015
On Sun, Aug 30, 2015 at 8:20 PM, Richard A. O'Keefe <ok at cs.otago.ac.nz>
> The print statement has an EFFECT. That effect is not a
> *SIDE* effect. Here's the definition of "side effect":
> 1. A subsidiary consequence of an action, occurrence,
> or state of affairs; an unintended secondary result.
> 2. An effect (usually for the worse) of a drug or other
> chemical other than that for which it is administered
> In the case of the little program above, the fact that
> output is sent to a destination is neither subsidiary,
> nor unintended, nor secondary, nor other than that for
> which the program was constructed.
> I flatly deny that "UNINTENDED ... results" are what
> attracts ANYONE to programming. Effects, *YES*;
> *side* effects, NO.
Wrong definition, my friend.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe