data type

Integer or string

A data type specifies what kind of value a piece of data represents in programming—integer, string, boolean, floating-point number, and so on.

Data types determine what operations are valid: you can divide numbers but not text.

Languages vary in how strictly they enforce types; some require explicit declaration, others infer types automatically.

Related

array · tuple · float · floating point · string · pointer · number · coercion · union · reference · record · binary · double · primitive · compiler · optional · long · casting

Categories
Opposites
abstraction level

data typevalue

Importance or price

instance · literal · datum · payload · token

type system presence

data typeuntyped

Not input via keyboard

typeless · void · any · variant · raw data

specificity

data typegeneric

Not brand-name

wildcard · polymorphic · unconstrained

Family

datatype, datatypes

Familiarity
Top 200,000
Profile
Used worldwide · Timeless · Abstract · Rated G