[Laszlo-dev] early setters are going away...
andre.bargull at udo.edu
Fri Jun 4 01:37:44 PDT 2010
As far as I remember, only lz.Node and lz.View actually use early
setters. lz.View lists "stretches" and "clickregion" as early setters,
but "stretches" is already manually processed in construct(), so the
only real early setter for lz.View is "clickregion". The more important
early setters are defined in lz.Node, all these properties must be
installed early and in a well defined order. As long as this is ensured,
other changes should be safe.
> They are in my way for the remodularization I want to do to have attribute descriptors.
> 99% of them are not actually settable properties, they are just funny properties passed from the tag compiler into the constructor to set up stuff that can't (easily) be done at compile time.
> I plan to rip out all those special ones and in-line them appropriately in applyArgs.
> I think this just removes a lot of function calls and generality that are not really needed. If you know otherwise, let me know!
More information about the Laszlo-dev