type
(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}. (2003-12-22) In addition suitable contents: [ 2 ] [ = ] [ ad ] [ ag ] [ al ] [ am ] [ an ] [ ar ] [ arc ] [ array ] [ as ] [ at ] [ B ] [ b ] [ be ] [ bj ] [ bo ] [ Boolean ] [ bot ] [ built-in ] [ by ] [ ca ] [ cat ] [ cc ] [ ch ] [ char ] [ character ] [ ci ] [ cl ] [ class ] [ co ] [ com ] [ compiler ] [ composite ] [ con ] [ cons ] [ data ] [ data type ] [ dd ] [ de ] [ diff ] [ ding ] [ du ] [ ec ] [ ed ] [ eg ] [ er ] [ era ] [ es ] [ et ] [ explicit type conversion ] [ expression ] [ extend ] [ fi ] [ file ] [ fo ] [ for ] [ fr ] [ function ] [ ge ] [ gi ] [ gr ] [ gs ] [ gu ] [ h ] [ hat ] [ hr ] [ id ] [ ie ] [ iff ] [ il ] [ implicit type conversion ] [ in ] [ inc ] [ include ] [ int ] [ integer ] [ interpreter ] [ io ] [ is ] [ it ] [ ke ] [ ki ] [ la ] [ language ] [ Lex ] [ li ] [ list ] [ lists ] [ ls ] [ lt ] [ lu ] [ ly ] [ ma ] [ mm ] [ mo ] [ mod ] [ module ] [ mp ] [ na ] [ nc ] [ ne ] [ ng ] [ ni ] [ no ] [ ns ] [ nu ] [ numbers ] [ O ] [ om ] [ op ] [ pe ] [ perf ] [ ph ] [ ping ] [ pl ] [ point ] [ port ] [ pr ] [ primitive ] [ process ] [ program ] [ programmer ] [ programming ] [ programming language ] [ query ] [ range ] [ rc ] [ re ] [ rete ] [ ro ] [ ru ] [ S ] [ se ] [ set ] [ si ] [ sit ] [ so ] [ st ] [ storage ] [ string ] [ strong typing ] [ struct ] [ su ] [ support ] [ T ] [ th ] [ theory ] [ to ] [ tr ] [ tron ] [ tw ] [ ua ] [ um ] [ union ] [ up ] [ us ] [ va ] [ value ] [ var ] [ variable ] [ ve ] [ version ] [ vi ] [ word ]
[ Go Back ]
Free On-line Dictionary of Computing Copyright © by OnlineWoerterBuecher.de - (10330 Reads) |