Latest post
Timely Computation of Derived Values
Learn about shopping cart implementations and the idea to add computed values, as in an eager approach, but only triggering the computation when you need to access its result.
The implementation relies on two properties: a result read-only property (the cost in our e-commerce shop) and a dirty internal flag.
1-1 of 1