On 6/27/11 5:50 AM, Andrei Alexandrescu wrote:
[…] There's absolutely never a good
reason to call a pure function and ignore its result, unless you just
want to keep the CPU warm.

There is, especially with pure/nothrow inference for delegates – a prominent example is std.concurrency.receive, which I brought up in the commit comments yesterday: https://github.com/D-Programming-Language/dmd/commit/9b50184c#commitcomment-448720.

David
_______________________________________________
dmd-internals mailing list
dmd-internals@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-internals

Reply via email to