4 ms·
Claim: Dynamic and static type systems are two completely different things, whose goals happen to partially overlap. Immediately contradicted: A static type sy
by kazinator 11y ago
Claim: Dynamic and static type systems are two completely different things, whose goals happen to partially overlap.
Immediately contradicted: A static type system is a mechanism by which a compiler examines source code and assigns labels (called "types") to pieces of the syntax, and then uses them to infer something about the program's behavior.
This is possible to do with a program that is understood as being dynamically typed.
Moreover, whenever a type can be assigned to a piece of syntax, it will agree with the dynamic type.
I.e. not "completely different things".
- AnimalMuppet 11y agoI think you're ignoring the rest of the article, which says that static and dynamic types can do some overlapping things. So: > This is possible to do with a program that is understood as being dynamically typed. Well and good, but it usually isn't. So the article's point is valid.