Am 24.03.2015 um 15:26 schrieb Johan Fabry <jfabry@dcc.uchile.cl>:


I would say that they are different although related. Slots are for the interception of accessing instance variables (for read and write), and method wrappers for the interception of accessing methods (for execution).

+1 Very precise and short. Conceptional some might see overlap when it comes to getters and setters :)

Norbert

On Mar 24, 2015, at 09:02, phil@highoctane.be wrote:

I wondered how these two things are related.

Will slots be giving MWs facilities out of the box?

When should I use both?

Phil




---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile