Re: [Ann] New version of Ghost
Posted by
demarey on
Mar 25, 2016; 8:19am
URL: https://forum.world.st/Ann-New-version-of-Ghost-tp4886357p4886436.html
Good job Denis!
Hello.
I finished new version of Ghost:
- Abstract proxy classes uses Ghost name instead of Proxy: there are GHObjectGhost and GHClassGhost.
- GHProxyHandler renamed to GHGhostBehaviour. Concrete ghosts should implement #ghostBehaviour instead of #proxyHandler.
Why did you rename these classes?
I find the new names obscure and they do not provide a clue of what is the purpose of the class. Old names were clear and easily understandable.
- New kind of proxies:
- GHObjectVirus. It is special kind of GHClassProxy. It infects real object to intercept it messages. From meta level infected object looks like healthy object which means that meta messages are executed by infected object itself. As class virus looks like real victim
Same remark here. The name is fun but it does not give any clue on the purpose of the class. Why not use GHMessageInterceptor?
Sorry to bother you but names are really important.
Christophe