Snit

Look up snit in Wiktionary, the free dictionary.
This article is about the Tcl object system. For the "Snit" featured on YTV, see The Zone (YTV). For the "Snits" featured in the Steve Jackson board game, see Snit's Revenge. For the fish sometimes known as a "snit", see Inermia vittata.

Snit is an object-oriented extension to the Tcl programming language. Snit is a recursive acronym that stands for "Snit's Not Incr Tcl." Snit is a pure Tcl object and megawidget system. It is unique among Tcl object systems in that it is 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, a Tk widget, an Incr Tcl object, a BWidget or almost anything else.

See also

External links


This article is issued from Wikipedia - version of the 5/21/2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.