Login  Register

Re: [Ann] New version of Ghost

Posted by Mariano Martinez Peck on Mar 25, 2016; 11:58am
URL: https://forum.world.st/Ann-New-version-of-Ghost-tp4886357p4886496.html



On Fri, Mar 25, 2016 at 5:47 AM, Christophe Demarey <[hidden email]> wrote:
Good job Denis!

Le 24 mars 2016 à 17:48, Denis Kudriashov <[hidden email]> a écrit :

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.


I agree here. I originally called the tool Ghost mostly because I wanted TRANSPARENT proxies for all kind of objects (included classes, methods, etc), and LIGHTWEIGHT.  So...I thought that Ghost were transparent and lightweight hahahaha. 

But... one thing is the project name and the other is class names. Here I agree with Christophe that I prefer the old names. Same as for the virus stuff. I would not go that deep into the metaphor. 



--