Overview
ABSTRACT
Typing in programming languages rules out faults in computations due to operations using inadequate data. This verification may take place either at runtime (dynamic typing) or during compilation (static typing) and increases program security. Through abstraction, typing makes it possible to hide some implementation details in order to smooth the composition of different components of a program while allowing some flexibility through different kinds of polymorphism (parametric, ad hoc, subtyping). Each programming language has its own typing discipline that aims to ensure safety, abstraction, and flexibility of programs.
Read this article from a comprehensive knowledge base, updated and supplemented with articles reviewed by scientific committees.
Read the articleAUTHORS
-
Emmanuel CHAILLOUX: Professor, Sorbonne University
-
Romain DEMANGEON: Senior Lecturer, Sorbonne University
-
Michel MAUNY: Research Director, Inria
INTRODUCTION
In programming, a data type or, more simply, a type, is a set of data sharing properties and operations. For example, in the C language, the integer type int contains positive or negative numbers that can be represented on a fixed number of bits, which may depend on the processor architecture (often 32 or 64). These integers can be arguments or results of arithmetic operations. The OCaml language provides a bool type containing only the two truth values true and false, which can be tested (by a conditional if-then-else construction), or be the result of Boolean-valued functions.
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference
KEYWORDS
Computer | programming | type checking | language
This article is included in
Software technologies and System architectures
This offer includes:
Knowledge Base
Updated and enriched with articles validated by our scientific committees
Services
A set of exclusive tools to complement the resources
Practical Path
Operational and didactic, to guarantee the acquisition of transversal skills
Doc & Quiz
Interactive articles with quizzes, for constructive reading
Typing programming languages
Bibliography
Websites
Abstract type (Wikipedia) : https://fr.wikipedia.org/wiki/Type_abstrait
Polymorphism (Wikipedia) : https://fr.wikipedia.org/wiki/Polymorphisme_(informatique)
Typing...
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference