Difference between revisions of "Data type"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) (→See also) |
Karl Jones (Talk | contribs) (→See also) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 35: | Line 35: | ||
== See also == | == See also == | ||
+ | * [[Array data structure]] | ||
+ | * [[Array data type]] | ||
+ | * [[C data types]] | ||
* [[Computer science]] | * [[Computer science]] | ||
* [[Computing]] | * [[Computing]] | ||
* [[Data (computing)]] | * [[Data (computing)]] | ||
+ | * [[Data dictionary]] | ||
* [[Data structure]] | * [[Data structure]] | ||
+ | * [[Functional programming]] | ||
+ | * [[Kind (type theory)]] | ||
* [[Programming language]] | * [[Programming language]] | ||
* [[String (computer science)]] | * [[String (computer science)]] | ||
* [[Type safety]] | * [[Type safety]] | ||
− | * [[Type system]] | + | * [[Type system]] - a collection of rules that assign a property called type to various constructs a [[computer program]] consists of, such as [[Variable (computer science)|variables]], [[Expression (computer science)|expressions]], [[Function (programming)|functions]], or [[Modular programming|modules]]. |
+ | * [[Type theory]] for the mathematical models of types | ||
+ | * [[Type system]] for different choices in programming language typing | ||
== External links == | == External links == | ||
* [https://en.wikipedia.org/wiki/Data_type Data type] @ Wikipedia | * [https://en.wikipedia.org/wiki/Data_type Data type] @ Wikipedia | ||
+ | * [https://www.smashingmagazine.com/2013/04/introduction-to-programming-type-systems/ An Introduction To Programming Type Systems] @ smashingmagazine.com | ||
+ | |||
+ | [[Category:Computation]] | ||
+ | [[Category:Computer science]] | ||
+ | [[Category:Computing]] | ||
+ | [[Category:Data]] | ||
+ | [[Category:Data types]] |
Latest revision as of 20:16, 23 August 2016
In computer science and computer programming, a data type (or simply type) is a classification identifying one of various types of data.
Contents
Description
Data type determines:
- The possible values for that type
- The operations that can be done on values of that type
- The meaning of the data
- The way values of that type can be stored
Type systems
Data types are used within type systems, which offer various ways of defining, implementing and using data types.
Type safety
Different type systems ensure varying degrees of type safety.
Programming language support
Almost all programming languages explicitly include the notion of data type, though different languages may use different terminology.
Common data types
Common data types include:
See also
- Array data structure
- Array data type
- C data types
- Computer science
- Computing
- Data (computing)
- Data dictionary
- Data structure
- Functional programming
- Kind (type theory)
- Programming language
- String (computer science)
- Type safety
- Type system - a collection of rules that assign a property called type to various constructs a computer program consists of, such as variables, expressions, functions, or modules.
- Type theory for the mathematical models of types
- Type system for different choices in programming language typing
External links
- Data type @ Wikipedia
- An Introduction To Programming Type Systems @ smashingmagazine.com