Tag: Lazy Parameter Evaluation

Lazy Parameter Evaluation in D Language

Written by on March 6, 2022 in D Language, Programming with 0 Comments
Lazy Parameter Evaluation in D Language

Languages such as C/C++ and Java follow anĀ “eager” argument evaluation approach, where function arguments are evaluated before the function is entered. Of course, there are idioms and tricks that one can use to force “lazy” evaluation. The primary benefit of “lazy” parameter evaluation is that the parameter is evaluated only when it is used and […]

Continue Reading

Top