|
TOM is title of deuce different programming languages.
Objective C successor
TOM is an object oriented programming language that can be considered when a ultimate incarnation of Objective C. A independent purpose of TOM is to provide "unplanned reuse" of code vithe a easily-developed extension mechanism. This construct was introduced apparently by accident withinside Objective C & late proved to exist as of wide utilize, & was applied using the payback in TOM.
A primary changes around TOM come a addition of multi-inheritance, tuples as a foremost-class a share of the language, cleaner syntax, unhampered the C requirements for header files & pre-compiler commands, and a ability to have categories (a re-apply mechanism) to include anything.
These are this latter ability that is "the whole idea". Unlike Objective Hundred's categories that allowed single fresh methods to become built onto existent classes, TOM allows wise shoppers to add class & case variables, fresh methods, potentially recently superclasses. This final result in the redefinition of "class" as "a class is defined by its main definition and any extensions", these extensions keep close at hand be the foremost-class citizen of the language (likewise to Ruby).
|