7.12 Chapter Summary
In this chapter, we studied language concepts related to types—particularly, type systems and type inference. The type system in a programming language broadly refers to the language’s approach to type checking. In a static type system, types are checked and almost all type errors are detected before run-time. In a dynamic type system, types are checked and most type errors are detected at run-time. Languages with static type systems are said to be statically typed or to use static typing. Languages with dynamic type systems are said to be dynamically typed or to use dynamic typing. Reliability, predictability, safety, and ease of debugging are advantages of a statically typed language. Flexibility and efficiency are benefits ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access