[pro] Initialization of shared slots

Didier Verna didier at lrde.epita.fr
Thu Jan 6 17:03:55 UTC 2011


Daniel Weinreb wrote:

> This conversation has been good.

  Yup. Here's what I gather from it, mostly:

- a shared slot's initform is required to be evaluated when the class is
  created,
- however, nothing tells us that the resulting value is used immediately
  to initialize the slot (it could just be stored somewhere), and
  implementations seem to be free to do so right now, or later when the
  first instance is created.

-- 
Resistance is futile. You will be jazzimilated.

Scientific site:   http://www.lrde.epita.fr/~didier
Music (Jazz) site: http://www.didierverna.com




More information about the pro mailing list