Mariano spent a couple of years on it so...


Le 31/3/15 21:37, Denis Kudriashov a écrit :
Hi
if you want to build proxy look at Ghost library from Mariano Martinez
I not know right repository. Maybe this:http://smalltalkhub.com/#!/~CAR/Ghost/ <http://smalltalkhub.com/#%21/%7ECAR/Ghost/> or http://ss3.gemstone.com/ss/Ghost

2015-03-31 19:51 GMT+03:00 Sean P. DeNigris <s...@clipperadams.com <mailto:s...@clipperadams.com>>:

    From "Design Patterns" pg. 215:

        You can make[8] generic proxies in Smalltalk by defining
    classes whose
    superclass is nil and defining the doesNotUnderstand: method to handle
    messages.

        [8] Almost all classes ultimately have Object as their
    superclass. Hence
    this is the same as saying "defining a class that doesn't have
    Object as its
    superclass."

    but in Pharo:
        nil subclass: #MyProxy
            instanceVariableNames: ''
            classVariableNames: ''
            category: ''
    -> MessageNotUnderstood: receiver of
    "subclass:instanceVariableNames:classVariableNames:category:" is nil



    -----
    Cheers,
    Sean
    --
    View this message in context:
    http://forum.world.st/Proxies-Subclassing-nil-tp4816443.html
    Sent from the Pharo Smalltalk Users mailing list archive at
    Nabble.com.



Reply via email to