Re: Nested ROP contexts and relationships

From: Andrey Razumovsky (razumovsky.andre..mail.com)
Date: Tue Nov 24 2009 - 14:28:15 EST

  • Next message: Andrus Adamchik: "Re: Nested ROP contexts and relationships"

    Actually, I don't understand :) PO arc properties are all faults (classes
    PersistentObject*)

    2009/11/24 Andrus Adamchik <andru..bjectstyle.org>

    >
    > On Nov 24, 2009, at 5:14 PM, Andrey Razumovsky wrote:
    >
    >
    >>>
    >>> So ... another attempt at abstract analysis (or an attempt at unwinding
    >>> my
    >>> memory...) IIRC the main difference between DO and PO is fault handling -
    >>> we
    >>> can store a Fault instance in a map, but not in a typed ivar. So PO's
    >>> have
    >>> no concepts of faults at all, and the lifecycle is different. DO approach
    >>> is
    >>> more lazy (it won't try to create even a placeholder collection until the
    >>> property is accessed), and I prefer it to PO's. Wonder if when we
    >>> reconcile
    >>> that somehow, the rest will fall into place on its own??
    >>>
    >>> (E.g. for PO's, we generate extra boolean "fault" properties for each
    >>> relationship, that are checked on every property access?)
    >>>
    >>>
    >> Nice idea, need to think about it. But anyways, this is separate task
    >>
    >
    > May or may not be a separate task. But definitely bigger in scope.
    >
    > Andrus
    >
    >

    -- 
    Andrey
    



    This archive was generated by hypermail 2.0.0 : Tue Nov 24 2009 - 14:29:10 EST