- Snit
:"This article is about the
Tcl object system. For the "Snit" featured on YTV seeThe Zone . For the "Snits" featured in the Steve Jackson board game seeSnit's Revenge . "Snit" can also refer to a tear in the casing of aZeppelin ."Snit is a
recursive acronym that stands for "Snit's NotIncr Tcl ." Snit is a pureTcl object and megawidget system. It's unique among Tcl object systems in that it's based not on inheritance but on delegation. Object systems based on inheritance only allow inheriting from classes defined using the same system, which is limiting. In Tcl, an object is anything that acts like an object; it shouldn't matter how the object was implemented. Snit is intended to help build applications out of the code at hand. Thus, Snit is designed to be able to incorporate and build on any object, whether a hand-coded object, aTk widget , an Incr Tcl object, aBWidget or almost anything else.ee also
*
Itcl
*XOTcl External links
* [http://www.wjduquette.com/snit/ snit Home Page]
* [http://tcllib.sourceforge.net/doc/snit.html Tcl lib snit]
* [http://www.activestate.com/store/productdetail.aspx?prdGuid=f0cd6399-fefb-466e-ba17-220dcd6f4078 freeware version of ActiveState Tcl which includes XOTcl]
Wikimedia Foundation. 2010.