3 ms·
You are confusing "strong/weak" typing with "static/dynamic" typing. CL is for the most part strongly typed. Python too. In CL there are almost no automatic ty
by flavio81 9y ago
You are confusing "strong/weak" typing with "static/dynamic" typing.
CL is for the most part strongly typed. Python too. In CL there are almost no automatic typecasts.
Javascript and PHP and Perl are textbook examples of weakly typed systems. The interpreter (or compiler) can even allow things like 1 == "1".
With implementations like SBCL, CL also allows for static type checking with the "declare" and "proclaim" keywords, this checks types before runtime, if they can be inferred before executing the code.