Article | REF: H3320 V1

Typing in programming language

Authors: Emmanuel CHAILLOUX, Romain DEMANGEON, Michel MAUNY

Publication date: May 10, 2018

You do not have access to this resource.
Click here to request your free trial access!

Already subscribed? Log in!


Français

5. Other type systems

Dynamic typing, by checking that the arguments passed to a function are of the correct type, ensures that the operations performed are carried out on the correct type of data. To achieve this, tests on the data passed are carried out before a function is called, or directly in its code. If one of these type conformity tests fails, this is signalled either by passing a specific value to the caller, or by triggering an exception at that point in the program. The result is a software reliability guarantee that calculations will not be performed on data that does not conform to expectations.

Static typing eliminates typing tests at runtime by analyzing the program's source code to check that it conforms to the type system of the language in which the program is written. If this is not the case, the program will not be compiled and therefore cannot be executed. If this...

You do not have access to this resource.

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

A Comprehensive Knowledge Base, with over 1,200 authors and 100 scientific advisors
+ More than 10,000 articles and 1,000 how-to sheets, over 800 new or updated articles every year
From design to prototyping, right through to industrialization, the reference for securing the development of your industrial projects

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

Subscribe now!

Ongoing reading
Other type systems