[plt-scheme] class.ss: init vs init-field differences?

From: Tato Norren (taton at fastest.cc)
Date: Sat Apr 7 19:39:42 EDT 2007

Hi. I'm studying the class.ss module to mzscheme. What exactly are the
differences between init and init-field? They seem to behave identically
in terms of object creation (with instantiate, etc). The only difference
I can see is that variables declared with init can't be used in
procedures (although why the heck would you want to initialize something
that can never be used??). Can anyone shed some light on the technical
and practical differences between the two?
thank you,
Tato N.

Posted on the users mailing list.