"lazy" was implemented in Algol and then shunned in just about all languages that followed.
FWIW Apple's recent Swift has @autoclosure, which is the same as lazy. It's needed to implement assert in Swift.
Nick Treleaven via Digitalmars-d Sat, 27 Dec 2014 04:35:57 -0800
"lazy" was implemented in Algol and then shunned in just about all languages that followed.
FWIW Apple's recent Swift has @autoclosure, which is the same as lazy. It's needed to implement assert in Swift.