Data types summary

erma0x
Geek Culture
Published in
4 min readAug 29, 2021

--

Examples of data types and their common name in some programming languages.

Definition : A data type is a classification of data which tells the compiler or interpreter how the programmer intends to use the data. Most programming languages support various types of data, including integer, real, character or string, and Boolean.

A data type or simply type in computer science and computer programming is an attribute of data that informs the compiler or interpreter that the programmer intends to use the data. Most programming languages ​​support the basic data types of integers (various sizes), floating point numbers (sounds close to mistakes), letters and Booleans. Data types limit the values ​​that expressions such as variables and functions can take. This data type defines what you can do with your data, what it means, and how you can store values ​​of that type.

Data types in programming languages

Data types are used within a type of system that provides different ways to define, implement, and use data types. Different types of systems ensure different types of safety. Although different languages ​​can use different terms, almost all programming languages ​​explicitly include the concept of data types. Most programming languages ​​allow programmers to generally combine several other types of elements to define valid operations for new data types and define additional data types. For example, a programmer can…

--

--