Live briefing
Everything about Type safety
Extent to which a programming language discourages type errors
In computer science, type safety is the extent to which a programming language discourages or prevents type errors. Type-safe languages are sometimes also called strongly or strictly typed. The behaviors classified as type errors by a given programming language are usually those that result from attempts to perform operations on values that are not of the appropriate data type, e.g. trying to add a string to an integer. Wikipedia →
🧭 Start here: a 6-step reading path
- Read the overview: Type safetyA 5-minute orientation
- Skim a recent paper: Efficacy and Safety of Tirzepatide in Type 2 Diabetes and Obesity ManagementInfluential work since 2022
- Pick up a classic book: AirframeThe most-reprinted book on the subject
- Read the landmark paper: Safety planning-type interventions for suicide prevention: meta-analysisCited 266 times
- Go sideways: Modula-3A closely related topic
- Go sideways: Comparison of C Sharp and JavaA closely related topic
📖 Definitions
Noun The extent to which a programming language is type-safe.
🏆 Landmark papers (most cited)
Safety planning-type interventions for suicide prevention: meta-analysis
Type safety for feature-oriented product lines
Safety Analysis versus Type Inference
Checking type safety of foreign function calls
Safety analysis versus type inference for partial types
Strategies for Improving Patient Safety: Linking Task Type to Error Type
Safety of Canagliflozin in Patients with Type 2 Diabetes
Bariatric Surgery, Safety and Type 2 Diabetes
🆕 Influential since 2022
Efficacy and Safety of Tirzepatide in Type 2 Diabetes and Obesity Management
Impacts of Communication Type and Quality on Patient Safety Incidents
Efficacy and Safety of Encaleret in Autosomal Dominant Hypocalcemia Type 1
Cardiovascular Safety in Type 2 Diabetes With Sulfonylureas as Second-line Drugs: A Nationwide Population-Based Comparative Safety Study
Efficacy and Safety of Selumetinib in Pediatric Patients With Neurofibromatosis Type 1
📚 Books worth reading
AirframeMichael Crichton · 1996
Fast Food NationEric Schlosser, Eric Schlosser · 2001
Highest DutyChesley Sullenberger, Jeffrey Zaslow · 2009
GermsJudith Miller, Miller, Judith · 2001
Reader's Digest--Volume 4 1997Tanis H. Erdmann, Michael Crichton · 1997
Hostile watersPeter A. Huchthausen · 1997- 📕Playing it safe with Mr. See-More SafetyJanis Rafael · 1997
TriangleDavid von Drehle · 2003
Ranked by number of editions on Open Library, a rough measure of how lasting a book is.
🔗 Related topics
- Modula-3 Modula-3 is a programming language conceived as a successor to an upgraded version of Modula-2 known as Modula-2+. It has been influential in research…
- Comparison of C Sharp and Java This article compares two programming languages: C# with Java. While the focus of this article is mainly the languages and their features, such a comparison…
- Undefined behavior A computer program exhibits undefined behavior (UB) when it contains, or is executing code for which its programming language specification does not mandate…
- Type conversion In computer science, type conversion, type casting, type coercion, and type juggling are different ways of changing an expression from one data type to…
- Comparison of Java and C++ Java and C++ are two prominent object-oriented programming languages. By many language popularity metrics, the two languages have dominated object-oriented…
- Pointer (computer programming) I do consider assignment statements and pointer variables to be among computer science's "most valuable treasures." — Donald Knuth, Structured Programming…
- Type system A programming language consists of a system of allowed sequences of symbols (constructs) together with rules that define how each construct is interpreted…
- Type punning In computer science, type punning is any programming technique that subverts or circumvents the type system of a programming language in order to achieve…