It is really possible and we are working on a new implementation of
talents based on anonymous classes.
Now what you should know is that
- i would use this mechanism for debugging/tooling
- i would try to avoid this as much as possible for domain modeling because
it breaks all the hidden assumptions we have.
stef
Hi Steven . For the moment i just want to understand how it is possible.
In the future may be i can apply this mechanism for future projects.
Pablo
Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Dividato SA 25 de Mayo 521
San Miguel de Tucumán
Email: pdigonze...@softsargentina.com
pdigonze...@gmail.com
Cel: 5493815982714
De: "Steven Costiou" <steven.cost...@kloum.io>
Para: "Any question about pharo is welcome" <pharo-users@lists.pharo.org>
CC: "Pablo Digonzelli" <pdigonze...@gmail.com>
Enviados: Viernes, 3 de Marzo 2017 11:03:23
Asunto: Re: [Pharo-users] adding messages dinamically to a single
instance object
Hi,
could you describe why you need this ? Do you have a usecase ?
Just interested to know, as i work on similar mechanisms.
Steven.
Le 2017-03-03 14:55, Pablo R. Digonzelli a écrit :
Thanks Denis, I will take a look . I think this is what i need.
Tia
Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Dividato SA 25 de Mayo 521
San Miguel de Tucumán
Email: pdigonze...@softsargentina.com
pdigonze...@gmail.com
Cel: 5493815982714
De: "Denis Kudriashov" <dionisi...@gmail.com>
Para: "Any question about pharo is welcome"
<pharo-users@lists.pharo.org>
Enviados: Viernes, 3 de Marzo 2017 10:11:53
Asunto: Re: [Pharo-users] adding messages dinamically to a single
instance object
Hi.
Look at project Talents https://github.com/tesonep/pharo-talents.
Idea is to implement behaviour (also with state) in normal way with
classes and then dynamically install it to any existing objects
2017-03-03 14:07 GMT+01:00 Pablo R. Digonzelli <pdigonze...@gmail.com>:
Hi all. I need to know how can i do if i want add new behaviour ( a
new method ) to a single instance object of a class.It means not to
add new selector to the class but i want a single instance responds
that mesage.Where can i read about it?
Tia
Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Dividato SA 25 de Mayo 521
San Miguel de Tucumán
Email: pdigonze...@softsargentina.com
pdigonze...@gmail.com
Cel: 5493815982714
--kloum.io
--
Using Opera's mail client: http://www.opera.com/mail/