TOM (programming language): Difference between revisions

Content deleted Content added
Owl-syme (talk | contribs)
added {{split}} tag
RM dead link
Line 3:
 
==Objective C successor==
'''TOM''' iswas an [[object oriented]] programming language that canbuilt be considered asupon the ultimatelessons incarnationlearned offrom [[Objective-C]]. The main purpose of TOM iswas to allow for "unplanned reuse" of code via a well-developed extension mechanism. This concept was introduced seemingly by accident in Objective C and later proved to be of wide use, and was applied with a vengeance in TOM.
 
The primary changes in TOM are the addition of multi-inheritance, ''tuples'' as a first-class part of the language, cleaner syntax, free of the [[C programming language|C]] requirements for header files and pre-compiler commands, and the ability to use ''categories'' (the re-use mechanism) to include anything.
 
It is this latter ability that represents "the whole idea". Unlike Objective C's categories that allowed only new methods to be built onto existing classes, TOM allowsallowed youthe toaddition addof class and instance variables, new methods, even new superclasses. This results in the redefinition of "class" as "a class is defined by its main definition and any extensions", these extensions have become a first-class citizen of the language (similarly to [[Ruby programming language|Ruby]]).
 
The development of the TOM language is defunct.
===External links===
* [http://www.gerbil.org/tom/ The TOM Programming Language]
 
==[[Pattern matching]] language==