[Seaside] Importing halo's from Monticello
avi.bryant at gmail.com
Sat Jun 4 12:32:39 CEST 2005
On 6/4/05, stephane ducasse <stephane.ducasse at free.fr> wrote:
> Hi avi
> This hack is really a hack and a bad one. :)
> I would just implement a lazy accessor instead than relying on the
> way compiled method
> manage literal frame.
Well, what's really wanted is what Bert mentioned: a syntax for
compile-time evaluation like VA has (and some other dialects?). This
is just a cheesy way of simulating that. Using an instance variable
here wouldn't be the right semantics; you could use a class variable
but then you'd have to worry about nilling it out every time you
modified the method. So I don't think we have a perfect solution.
But at any rate, you certainly shouldn't use this hack without being
fully aware of why it works and how it might break in the future.
More information about the Seaside