AW: [Xotcl] destroy invoked by object move?
Scott Gargash
scottg at atc.creative.com
Sun Mar 19 15:30:39 CET 2006
xotcl-bounces at alice.wu-wien.ac.at wrote on 03/19/2006 06:53:50 AM:
>
> One general observation about our discussion: it is often not clear,
> what "namespace"
> refers to, a "tcl namespace" or some kind of an abstract namespace.
I've been guilty of this. I wondered what would happen if XOTcl's objects used their own
concept/implementation of an abstract namespace (or scope) instead of using Tcl namespaces.
(The answer seems to be that it would be a lot of work and it would break XOTcl...)
That said, I think it would be good if, in general, non-XOTcl accesses to an XOTcl object's
attributes didn't assume the way Tcl's namespaces are used, but instead there were object methods
that would construct appropriately qualified names for an instance's attributes.
> i for my part would be happy to have a lower level
> interface to these
> functionalities, having e.g. the management for cmds different from the
> management
> of the vars, but this would be a deeper change in the tcl-internals,
> requireing many
> interface changes.
Does Tip #257 provide a opening for having that discussion with the Tcl Core Team? If there's
willingness to add OO support to Tcl, does that also imply a willingness to at least consider
extending the C API to better support it as well?
Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://alice.wu-wien.ac.at/pipermail/xotcl/attachments/20060319/f2a925a9/attachment.html
More information about the Xotcl
mailing list