Discussion Thread: DIP 1032--Function pointers and Delegate Parameters...--Community Review Round 1

Walter Bright newshound2 at digitalmars.com
Wed Jul 29 08:20:14 UTC 2020


On 7/28/2020 7:03 PM, Avrina wrote:
> *It is* pure. The only thing that wouldn't be pure would 
> be the delegate call.

"Sort of pure", "mostly pure", "pure except for the impure stuff" all mean "not 
pure" and is not useful.


> It'd be no different than what you can already do today with lazy.

Lazy is headed for deprecation because it has such unprincipled behavior.

Writing pure code in D is hard because D's purity checks have teeth in them. But 
the teeth make it worthwhile and useful. Otherwise it would just be an empty suit.


More information about the Digitalmars-d mailing list