Re: [Pharo-users] Proxies: Subclassing nil

2015-04-01 Thread Mariano Martinez Peck
On Wed, Apr 1, 2015 at 4:29 AM, Luc Fabresse wrote: > > and the latest repo is: http://smalltalkhub.com/#!/~CAR/Ghost > but it has not diverged too much from the old one yet. > > Luc...something that would be super super cool is to take the proxies I implemented for Marea and adapt them as custom

Re: [Pharo-users] Proxies: Subclassing nil

2015-04-01 Thread Luc Fabresse
and the latest repo is: http://smalltalkhub.com/#!/~CAR/Ghost but it has not diverged too much from the old one yet. #Luc 2015-04-01 8:29 GMT+02:00 stepharo : > 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

Re: [Pharo-users] Proxies: Subclassing nil

2015-03-31 Thread stepharo
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/ or h

Re: [Pharo-users] Proxies: Subclassing nil

2015-03-31 Thread Mariano Martinez Peck
On Tue, Mar 31, 2015 at 8:05 PM, Clément Bera wrote: > Hey Sean, > > Now to create a proxy you need to subclass ProtoObject and not nil. > > Yes, subclassing from nil was never a good idea. > This was changed years ago to avoid some issues. An example of issue that > existed: when you subclass

Re: [Pharo-users] Proxies: Subclassing nil

2015-03-31 Thread Clément Bera
Hey Sean, Now to create a proxy you need to subclass ProtoObject and not nil. This was changed years ago to avoid some issues. An example of issue that existed: when you subclass nil, as #doesNotUnderstand: is not implemented by default on your proxy, any proxy created receiving a message would c

Re: [Pharo-users] Proxies: Subclassing nil

2015-03-31 Thread Sean P. DeNigris
Sean P. DeNigris wrote > Thanks, Denis! I'll check it out. I'm not sure which repo either I loaded the Pharo 3.0 stable version of the Metacello config in MetaRepoForPharo30 (1.2). All tests pass, so I updated the config for 4.0 and copied it to the meta repo for 40 - Cheers, Sean -- View t

Re: [Pharo-users] Proxies: Subclassing nil

2015-03-31 Thread Sean P. DeNigris
Denis Kudriashov wrote > http://smalltalkhub.com/#!/~CAR/Ghost/ or http://ss3.gemstone.com/ss/Ghost Thanks, Denis! I'll check it out. I'm not sure which repo either. Mariano's commits are all in both places, but there seems to be some parallel development after that... - Cheers, Sean -- Vie

Re: [Pharo-users] Proxies: Subclassing nil

2015-03-31 Thread Sean P. DeNigris
jtuchel wrote > I am not an expert in Pharo, but I think you should try subclassing > ProtoObject... I wonder if it was correct that subclassing nil used to be allowed and the proper way to create a proxy, and if so why it was changed... - Cheers, Sean -- View this message in context: http

Re: [Pharo-users] Proxies: Subclassing nil

2015-03-31 Thread Denis Kudriashov
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/ or http://ss3.gemstone.com/ss/Ghost 2015-03-31 19:51 GMT+03:00 Sean P. DeNigris : > From "Design Patterns" pg. 215: > > You can make[8] gen

Re: [Pharo-users] Proxies: Subclassing nil

2015-03-31 Thread Joachim Tuchel
Sean, I am not an expert in Pharo, but I think you should try subclassing ProtoObject... Joachim Am 31.03.2015 18:51 schrieb "Sean P. DeNigris" : > > >From "Design Patterns" pg. 215: > >     You can make[8] generic proxies in Smalltalk by defining classes whose > superclass is nil and definin

[Pharo-users] Proxies: Subclassing nil

2015-03-31 Thread Sean P. DeNigris
>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 "def