On 7 Jan 2009, at 15:45, Gustaf Neumann wrote:
i do agree with you, that the default unknown handler for classes/metaclasses is harmful. i prefer as well the explicit create/new statement for various reasons.
The handler is a heritage from OTcl, and the reason XOTcl keeps the heritiage is backward compatibility. Many programs simply use unknown....
However, maybe we should mark its usage as deprecated and remove it in future versions, such as XOTcl 2.0....
As someone who has stumbled across this as well, I would vote for deprecation. I always use 'new' anyway.