Re: defclass :initform behavior
David A. Thompson <[email protected]> Sat, 09 Jun 2012 13:40:56 -0700
| Newsgroups | gmane.emacs.eieio |
|---|---|
| Message-ID | <20120609204056.B097D76800A@d630> |
At Sun, 03 Jun 2012 20:27:35 -0400, Eric M. Ludlam wrote: > The cache is a performance tweak so that new classes are just a vector > copy instead of running a bunch of initialization code. As such, there > is an instance being created, it's just not one you created yourself. This is really the issue. If CLOS behavior is to be emulated, DEFCLASS has no business creating an instance -- especially not in a manner which generates side-effects associated with an :INITFORM form. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/