Lazy eval

Frank Benoit keinfarbton at nospam.xyz
Mon Aug 21 15:50:31 PDT 2006


> If it were possible to make the '{' '}' optional, for example, then
> another option would be for the coder to "make the call" as to how
> readable/explicit the code actually is. This is typical the case anyway,
> since any coder can write obfuscated code regardless of the language :)
> 

Writing it without {} will always be obfuscating, if the reader doesn't
know what will happen from the function names. And a good function name
does perhaps not imply a delegate call to another person reading the code.

The {} can make that clear, and they leave the user the choice to call
the overloaded function without lazy eval.





More information about the Digitalmars-d mailing list