MeTOO

APN: Everyone seems to have written a package for object-oriented programming, so I thought, why not MeTOO ? OK, bad pun. But MeTOO is different because it stands for MeTOO emulates TclOO. I needed a basic OO scripting capability that would work across 8.4, 8.5 and 8.6. TclOO was ideal but not available for 8.4. So I wrote this simple emulator for a small (tiny) subset of TclOO features I needed. I load this whenever TclOO is not available in the interpreter.

See comments at top of code for documentation and differences from TclOO.

Performance is adequate (far slower than TclOO of course), roughly that of Snit 1.x for Tcl 8.4.

Suggestions for improvements welcome.

The code is available from the twapi repository.


Not to be confused with the social media movement[L1 ] to share personal stories and raise awareness about the widespread prevalence of sexual assault and harassment, usually styled as #metoo. APN Lol but I had the name first :-)