Eliminate assert and lazy from D?

language_fan foo at bar.com.invalid
Thu Oct 15 04:02:09 PDT 2009


Tue, 13 Oct 2009 08:51:16 +0200, Frank Benoit thusly wrote:

> If it is evaluated exactly once, you do not need lazy at all. And if it
> may also not be evaluated, the callers code is not less safe as when
> evaluated multiple times.

Call by name has its uses. E.g. custom control structures, infinite lists 
etc.



More information about the Digitalmars-d mailing list