Member data is automatically unset when objects are deleted. As stooop is entirely written in Tcl, it will run on all Tcl supported platforms, including Windows and the Mac Intosh, if you have Tcl version 8.0. The class, new, delete, virtual and classof operators are implemented as Tcl procedures, or alternatively dynamically loadable as an extension for better performance. Stooop was implemented with a constant concern for performance. Member data is stored in Tcl associative arrays, which are best for random data access.
Object oriented helper code is kept as small and as efficient as possible.
Typically, only a couple of Tcl lines are added to a member procedure definition. Program startup time will be slightly increased due to some class and member procedures preprocessing, but runtime overhead is kept to a strict minimum. Use of object oriented techniques may actually improve the performance of your code. A full HTML documentation, simple demonstration script, graphical demonstration with composite pattern and test files are provided. You may also run the test suite and look at the test scripts for examples.