On Tue, 13 Jan 2015 11:26:01 +0000 bearophile via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote:
> ketmar: > > > that will effectively rule out any usage of some global vars or > > other > > external state, turning it into either unnecessary mess, or > > unusable > > theoretical crap. > > "Unusable theoretical crap" is better than the current trap :-) in no way. this just turns Phobos into the same unusable crap, removing the whole sense of having good standard library. > We hare "pure" in D, but still we have not grown up to actually > use it in Phobos, for higher order functions, or parallelism. let an user choose if he wants pure or impure HOF args. just make a big warning in documentation about unpredictability of HOFs with side-effects and this will be enough, i believe.
signature.asc
Description: PGP signature