Content deleted Content added
m small article for now, more to follow |
No edit summary |
||
Line 1:
'''TOM''' is an [[object oriented]] [[programming language]] that can be considered as the ultimate incarnation of [[Objective C]]. The main purpose of TOM is to allow for "unplanned reuse" of code, a concept introduced seemingly by accident in Objective C, one that was applied with a vengance in TOM.
The primary changes in TOM are the addition of ''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 to include anything.
It is this later ability that represents "the whole idea". Unlike Objective C's categories that included only new methods, TOM allows you to add 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.
''Links:''
[http://www.gerbil.org/tom/ The TOM Programming Language]
|