http://www.realsoftware.com/feedback/viewreport.php?reportid=yhfcxpsg
The part in this FR that deals with computed properties I can go along with,
but I am cannot think of instances of code where a private "instance"
variable would be really useful.
As the request describes, it is useful when one wants to instantiate a
backing property on demand instead of relying on a caller to do it in
advance. This eliminates a dependency, and since I hate dependencies,
most of my classes end up using this technique quite a bit.
The technique is really independent of whether an accessor is
implemented as a computed property or a method.
lj
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>