Generic memory allocation in D

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Tue Mar 5 15:21:30 UTC 2024


On 05/03/2024 11:31 PM, ShadoLight wrote:
>     s/checkPurity/isFunctionCallableWrtPurity/
> 
>     A much longer name, but now the purpose is very clear what it does.
> 
>     True for success, false for failure.
> 
> Very clear but wordy...
> 
> s/checkPurity/canCallAsPure/ ?

Close enough that I wouldn't mention it in a PR, to any code base that 
I'm involved with.

All that matters is it is asking a question, not stating that it is 
performing an action like validation.


More information about the Digitalmars-d mailing list