Learning Haskell makes you a better programmer?
Jonathan M Davis
jmdavisProg at gmx.com
Wed Dec 26 20:07:17 PST 2012
On Thursday, December 27, 2012 02:22:44 bearophile wrote:
> Simen Kjaeraas:
> > 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.
>
> The colourful Erik Meijer says that specifying what functions are
> not pure is better than specifying what functions are pure:
>
> http://www.youtube.com/watch?v=z0N1aZ6SnBk#t=54m53s
It probably would be better for stuff like @safe and pure to be the default,
but it's far too late for that now, regardless of how good an idea it would
have been. Live and learn.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list