[Laszlo-dev] idea for getting rid of make()
henry.minsky at gmail.com
Mon Jun 11 08:45:07 PDT 2007
The issue we had when we looked at getting rid of the "make()"
transformation was that when defining a new class, you
needed to instantiate the superclass without running it's initialization
method. Setting a global flag to inhibit initialization seemed like a
kludge, I was wondering if it would be less of a kludge to check the first
arg and see if it equals
some special constant object which means "don't run initialize method". It's
still a kludge, but seems like less
of one than setting a global. When the new() is called to get an instance
of the superclass, you don't pass
it any args anyway...
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Laszlo-dev