Typing in programming language

Add to my library

H3320 V1 Article

Typing in programming language

Authors : Emmanuel CHAILLOUX, Romain DEMANGEON, Michel MAUNY

Publication date: May 10, 2018 | Lire en français

Add to my library Add to my library

Logo Techniques de l'Ingenieur You do not have access to this resource.
Request your free trial access! Free trial

Already subscribed?

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 article

AUTHORS

 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.

You do not have access to this resource.
Logo Techniques de l'Ingenieur

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?


KEYWORDS

Computer   |   programming   |   type checking   |   language

Ongoing reading
Typing in programming language

Article included in this offer

"Software technologies and System architectures"

( 230 articles )

Complete knowledge base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

View offer details

Dans les ressources documentaires

Ada

L'objectif de cet article est de présenter sommairement le langage Ada dans son état actuel (2017). Après...

Langage UML : développement de logiciel et modélisation visuelle

Le langage UML (pour Unified Modeling Language) est un langage graphique de modélisation des systèmes log...

Plate-forme .NET

Le .NET Framework, qui permet la création et l’exécution d’applications modernes conçues autour des stand...

Tous les livres blancs
Toutes les actualités
Contact us