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...
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
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
Other type systems
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