Learning Haskell makes you a better programmer?
Simen Kjaeraas
simen.kjaras at gmail.com
Wed Dec 26 16:41:17 PST 2012
On 2012-11-26 00:12, Walter Bright <newshound2 at digitalmars.com> wrote:
> On 12/25/2012 11:57 AM, Jakob Bornecrantz wrote:
>> On Tuesday, 25 December 2012 at 19:37:42 UTC, Walter Bright wrote:
>>> Note that D offers this style of programming, with checkable purity,
>>> immutability and ranges. I think it is a very important paradigm.
>> I think you missed a big part here, the by default of purity. It is in
>> D more
>> work to enforce purity of functions then not.
>
> I think optional purity is pretty powerful. You can have the advantages
> of either, at your choice.
Absolutely. But whether purity should be the default or not is orthogonal
to this.
I would have preferred opt-out purity to opt-in, but it's not exactly
make or break.
--
Simen
More information about the Digitalmars-d
mailing list