<theory, computer programming> (Or "data type") A set of values from which a variable, constant, function, or other expression may take its value. A type is a classification of data that tells the compiler or interpreter how the programmer intends to use it. For example, the process and result of adding two variables differs greatly according to whether they are integers, floating point numbers, or strings.

Types supported by most programming languages include integers (usually limited to some range so they will fit in one word of storage), Booleans, floating point numbers, and characters. Strings are also common, and are represented as lists of characters in some languages.

If s and t are types, then so is s -> t, the type of functions from s to t; that is, give them a term of type s, functions of type s -> t will return a term of type t.

Some types are primitive - built-in to the language, with no visible internal structure - e.g. Boolean; others are composite - constructed from one or more other types (of either kind) - e.g. lists, arrays, structures, unions. Object-oriented programming extends this with classes which encapsulate both the structure of a type and the operations that can be performed on it.

Some languages provide strong typing, others allow implicit type conversion and/or explicit type conversion.

(01 Aug 2003)

Tyndall effect, tyndallization, Tyndall phenomenon, tyne < Prev | Next > type, -type, type 1 dextrocardia

Bookmark with: icon icon icon icon iconword visualiser Go and visit our forums Community Forums

1. The mark or impression of something; stamp; impressed sign; emblem.

2. Form or character impressed; style; semblance.

3. A figure or representation of something to come; a token; a sign; a symbol; correlative to antitype.

4. That which possesses or exemplifies characteristic qualities; the representative.

<biology> Specifically: A general form or structure common to a number of individuals; hence, the ideal representation of a species, genus, or other group, combining the essential characteristics; an animal or plant possessing or exemplifying the essential characteristics of a species, genus, or other group. Also, a group or division of animals having a certain typical or characteristic structure of body maintained within the group.

<chemistry> A simple compound, used as a mode or pattern to which other compounds are conveniently regarded as being related, and from which they may be actually or theoretically derived.

The fundamental types used to express the simplest and most essential chemical relations are hydrochloric acid, HCl; water, H2O; ammonia, NH3; and methane, CH4.

5. A raised letter, figure, accent, or other character, cast in metal or cut in wood, used in printing. Such letters or characters, in general, or the whole quantity of them used in printing, spoken of collectively; any number or mass of such letters or characters, however disposed.

Origin: F. Type; cf. It. Tipo, from L. Typus a figure, image, a form, type, character, Gr. The mark of a blow, impression, form of character, model, from the root of to beat, strike; cf. Skr. Tup to hurt.

(01 Mar 1998)

tyndallization, Tyndall phenomenon, tyne, type < Prev | Next > -type, type 1 dextrocardia, type 1 diabetes

Bookmark with: icon icon icon icon iconword visualiser Go and visit our forums Community Forums