[ZPT] Re: context == here

Chris Withers chrisw@nipltd.com
Tue, 5 Jun 2001 16:37:42 +0100


> To me, it really doesn't matter that much. What matters to me is that it's
> consitent.
> We now have self (External Method),

You can call this whatever you want! try it ;-)

def my_method(context):
  return context.getId()

> this (DTML),

This (hur hur) is subtley different :-( I'm not brainy enough to tell you
how other than I know context!=this() and context!=this, and yes, this and
this() are different :-((

> context (Python Script) and
> here (ZPT)

Well, it's a shame context wasn't used in ZPT from the start, but I guess
ZPT is aiming to be just PT in the long run, so it might have made sense.
However, I'd love to see context as a synonym for here in ZPT.

cheers,

Chris