News for hackers. Stuff that matters.
Re:Python Is Eating the World by willtim on Monday August 12, 2019 @06:11PM (#20680598)
"Dynamic typing" is really just case analysis at runtime. Every static language is capable of dynamic typing, it's not some feature that statically typed languages lack. A dynamic language is really just a static language with one type.
Re:Python Is Eating the World by kbp on Monday August 12, 2019 @07:39PM (#20681321)
Why aren't statically typed programs really just dynamically typed programs where all the types happen to be statically inferable?
Re:Python Is Eating the World by willtim on Tuesday August 13, 2019 @01:39AM (#20683066)
Because most statically typed languages allow us to define our own types, add type signatures to constrain etc. Dependently typed languages also allow types to depend on values. Inference is useful, but only one aspect of static typing.