[Seaside] Do not call #renderContentOn: directly (was: gotos with
2.3b?)
Avi Bryant
avi at beta4.com
Fri Jun 6 03:12:35 CEST 2003
On Fri, 6 Jun 2003, Ragnar Hojland Espinosa wrote:
> I suppose goto is now #delegate: right?
No, I'm pretty sure #delegate: (if it exists) would or should be a private
method. Is there no #goto: in 2.3? (Can you tell I'm not somewhere that
I can access the source? ;)
To be honest, I'm not certain of the usefulness of #goto:. I can't
remember exactly what all the implementations have been, but mostly it's
been a hook for further optimization - it just sends #call:, but
since by using #goto: you're asserting that you don't expect it to return,
in theory it could be changed later to be more efficient.
Whether it's worth introducing the confusion of having both #call: and
#goto: to support this hypothetical future efficiency gain, I'm not at all
sure. Thoughts?
Avi
More information about the Seaside
mailing list