Lazy evaluation

Darien Valentine valentinium at
Mon Sep 11 09:58:30 UTC 2017

Hm, I’m sorry, but I don’t follow. The accessor + shadow property pattern
is a (rather common?) way to achieve lazy instantiation of properties,
since it provides the necessary hook for "do this on first access". But I’m
not suggesting it as a new solution in any case, I was only commenting on
the subject of ways-one-can-have-stateful-access (which, it seems to me,
laziness is an example use case of).

In any case, apologies if you thought my comment was unhelpful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list