Weak Typing

Back to Strong vs Weak Typing

A type system that allows implicit conversions between types. Operations on mismatched types silently coerce values, which can lead to surprising behavior (e.g., JavaScript’s "5" + 3 producing "53").

Key Properties

  • Languages: JavaScript, C

type-systems weak