Re:Show HN: I Wrote a Book on Java
by js2 on Monday September 23, 2024 @08:14PM
(#41631873)
Duck typing isn't really an argument against it being relatively strongly typed. Python enforces types errors at runtime and does not implicitly convert between types. These are attributes of strong typing. But as I wrote, strong/weak is not rigorously defined, so if duck typing disqualifies it for you, so be it, but I think Python lands on the strong side of the scale.
https://langdev.stackexchange.com/questions/3741/how-are-str...