Object-oriented programming

Object-oriented programming has been a feature Tcl offered for several years with additional packages. This was possible due to the fact that Tcl syntax is easily extendable. Those packages include Incr Tcl, which is available from http://incrtcl.sourceforge.net/itcl/, XOTcl available from http://media.wu-wien.ac.at/ and Snit which can be obtained from http://www.wjduquette.com/snit/.

However, with the release of version 8.5, Tcl now comes with an object-oriented programming functionality included called TclOO. When Tcl 8.6 is out, TclOO will soon be part of core language. In Tcl 8.5 it is an extension to the language, but leverages 8.5 extensions to support it.

This is a set of additions that allows us to build a class ...

Get Tcl 8.5 Network Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.