3 ms·
There are very few untyped languages. * Distinction between dynamically typed and statistically typed is clear. * Weak versus strong typing has less clear def
by nabla9 8y ago
There are very few untyped languages.
* Distinction between dynamically typed and statistically typed is clear.
* Weak versus strong typing has less clear definition. Usually weakly typed means many implicit conversions between data types and representation.
Most programmers like the late binding approach. That is easy to do with dynamic typing. Adding static typing or type inference for late binding is more difficult.
Programmers usually hate the "weak" typing aspects of their dynamically typed languages when they are chosen wrong. JavaScript is good example of choosing implicit type conversions in a way that leads to confusion.
- Jweb_Guru 8y ago> Distinction between dynamically typed and statistically typed is clear. Not so clear as you might think. For example, it's relatively easy to construct a typed version of the untyped lambda calculus using isorecursive types.
- nabla9 8y agoThat's completely abstract example, not relevant to actual practice. It's hard for actual programmer make that mistake.
- Jweb_Guru 8y agoIt's a concrete example, but I understand your point that "in practice" we know what dynamic vs. static typing means. Personally, I think a lot of that just comes down to marketing, though :)