'''[http://jfontain.free.fr/stooop.html%|%Simple Tcl-Only Object-Oriented
Programming]''', or '''stooop''', by [Jean-Luc Fontaine], is an [object
orientation%|%object system] written in pure Tcl. stoop is also available as
a module in [Tcllib].
** Attributes **
name: stooop
author: [Jean-Luc Fontaine]
website: http://jfontain.free.fr/stooop.html
website: http://core.tcl.tk/tcllib/doc/trunk/embedded/www/tcllib/files/modules/stooop/stooop.html
** Documentation **
[http://core.tcl.tk/tcllib/doc/trunk/embedded/www/tcllib/files/modules/stooop/stooop.html%|%official tcllib reference]:
** Description **
'''stooop''', implemented in a single [source]-able file, uses simple
techniques to provide object orientation to Tcl. Includes an [HTML] [class]
browser and examples of a [lifo] and [fifo] [stack]. Consists of new and
delete operators as well as a virtual operator. Object members are held in a
global array bearing the class name.
'''stooop''' is the basis of
[http://tcl.sourceforge.net/faqs/tcl/part5.html%|%various useful
extensions/widgets], such as:
[MDI] (Joel Crisp) and [MDI%|%saMDI]:
[scwoop]:
[tkpiechart]:
----
'''[vigal] - 2016-04-11 05:11:37'''
I was wandering regarding the choice of using empty named array for stoop. What were the design considerations, pros/cons versus alternatives, etc. I read in many places on this wiki that this conflicts with possible future enhancements that could otherwise use the $() syntax. I even read somewhere that this feature was enabled especially for stoop. Since until recently I didn't even know that such possibility existed, I am naturally curious. So some insight into this would be appreciated.
<> Object Orientation | Package | Tcllib