📅 Event Timeline: 2023 Mar 13
🚀 Published on: 2023 Mar 13
🔄 Updated on: 2026 Nov 19 9:02 PM
📰 source: medium

SwitchUpCB responded to — a comment — "Very superficial explanation of data types in modern programming languages." on Medium.


Bryan Martin commented

on "The Evolution of Programming Languages" by SwitchUpCB.

Very superficial explanation of data types in modern programming languages. All modern programming languages have types. There no longer exists a binary choice between typed and untyped:

**Type Safety**

The extent to which a programming language discourages or prevents type errors.

Strongly typed - Types must be compatible and/or equivalent in order to avoid a type error.

Weakly typed - Runtime may coerce types that are not equivalent, but are compatible.

**Type Expression**

Explicit - Type is explicitly stated with the declaration of a field or variable.

Implicit - Type is inferred from assignment

**Type Compatibility/Equivalence**

Nominal - Compatibility and/or equivalence is determined by name.

Structural - Compatibility and/or equivalence is determined by structure.

**Type Checking**

Static - Types are checked during parsing or compiling.

Dynamic - Types are checked during execution.

SwitchUpCB responded

"""
Thanks for pointing this out. It's fixed now.
"""