Snit
Encyclopedia
This article is about the Tcl
Tcl
Tcl is a scripting language created by John Ousterhout. Originally "born out of frustration", according to the author, with programmers devising their own languages intended to be embedded into applications, Tcl gained acceptance on its own...

 object system. For the
Snit featured on YTV see The Zone
The Zone
The Zone is the flagship weekday afternoon programming block on the Canadian television channel YTV. It airs between 3:00 p.m. and 6:00 p.m. ET in Canada...

. For the
Snits featured in the Steve Jackson board game see Snit's Revenge
Snit's Revenge
Snit's Revenge is a two-player board game developed and illustrated by Tom Wham. It originally appeared as an insert in Dragon Magazine in 1977, and subsequently as a boxed game first published by TSR, Inc. and currently by Steve Jackson Games...

. "Snit" can also refer to a tear in the casing of a Zeppelin
Zeppelin
A Zeppelin is a type of rigid airship pioneered by the German Count Ferdinand von Zeppelin in the early 20th century. It was based on designs he had outlined in 1874 and detailed in 1893. His plans were reviewed by committee in 1894 and patented in the United States on 14 March 1899...

.

Snit is an object-oriented
Object-oriented programming
Object-oriented programming is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their interactions – to design applications and computer programs. Programming techniques may include features such as data abstraction,...

 extension to the Tcl
Tcl
Tcl is a scripting language created by John Ousterhout. Originally "born out of frustration", according to the author, with programmers devising their own languages intended to be embedded into applications, Tcl gained acceptance on its own...

 programming language
Programming language
A programming language is an artificial language designed to communicate instructions to a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine and/or to express algorithms precisely....

. Snit is a recursive acronym
Recursive acronym
A recursive acronym is an acronym or initialism that refers to itself in the expression for which it stands...

 that stands for "Snit's Not Incr Tcl." Snit is a pure Tcl object
Object (computer science)
In computer science, an object is any entity that can be manipulated by the commands of a programming language, such as a value, variable, function, or data structure...

 and megawidget system. It is unique among Tcl object systems in that it is based not on inheritance
Inheritance (computer science)
In object-oriented programming , inheritance is a way to reuse code of existing objects, establish a subtype from an existing object, or both, depending upon programming language support...

 but on delegation
Delegation (programming)
In object-oriented programming, there are two related notions of delegation.* Most commonly, it refers to a programming language feature making use of the method lookup rules for dispatching so-called self-calls as defined by Lieberman in his 1986 paper "Using Prototypical Objects to Implement...

. Object systems based on inheritance only allow inheriting from classes
Class (computer science)
In object-oriented programming, a class is a construct that is used as a blueprint to create instances of itself – referred to as class instances, class objects, instance objects or simply objects. A class defines constituent members which enable these class instances to have state and behavior...

 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
TK
TK, Tk or tk may refer to:In music:* TK * TK Records, a record label started by Henry StoneIn television:* Takeru "T.K." Takaishi, a character from Digimon anime* TK, a character in Angel Beats!...

 widget, an Incr Tcl object, a BWidget or almost anything else.

See also

  • OTcl
    OTcl
    OTcl usually refers to an object oriented extension of Tcl created by David Wetherall at MIT. It is used in network simulator and usually run under Unix environment...

  • XOTcl
    XOTcl
    XOTcl is an object-oriented extension for the Tool Command Language created by Gustaf Neumann and Uwe Zdun. It is an extension of the MIT OTcl. XOTcl supports metaclasses. Class and method definitions are completely dynamic...

  • incr Tcl
  • Tcl
    Tcl
    Tcl is a scripting language created by John Ousterhout. Originally "born out of frustration", according to the author, with programmers devising their own languages intended to be embedded into applications, Tcl gained acceptance on its own...

  • Tcllib
    Tcllib
    Tcllib is a collection of packages available for the Tcl programming language. Tcllib is distributed in both source code as well as pre-compiled binary formats...

  • C++/Tcl
    C++/Tcl
    C++/Tcl is a software programming library interface which allows the integration of C++ into Tcl and vice versa.The C++/Tcl library was inspired by the Boost.Python library and was designed to provide a similar interface....

  • Itk
    Itk
    Itk is a framework for building mega-widgets using the [incr Tcl] object system. Mega-widgets are high-level widgets like a file browser or a tab notebook that act like ordinary Tk widgets but are constructed using Tk widgets as component parts, without having to write C code. In effect, a...

  • Tk
    Tk (framework)
    Tk is an open source, cross-platform widget toolkit that provides a library of basic elements for building a graphical user interface in many different programming languages....


External links

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK