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

Dennis dkorpel at gmail.com
Wed Jul 29 11:30:49 UTC 2020


On Wednesday, 29 July 2020 at 08:20:14 UTC, Walter Bright wrote:
> On 7/28/2020 7:03 PM, Avrina wrote:
> "Sort of pure", "mostly pure", "pure except for the impure 
> stuff" all mean "not pure" and is not useful.
>
> 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.

I totally agree. If you demonstrate how the alternative proposal 
lets code writers cheat the `pure` attribute without the compiler 
catching it, I would bin the proposal immediately. Maybe you can 
give a code snippet of what you think would go wrong with the 
alternative proposal?



More information about the Digitalmars-d mailing list