Re:Python 3 Types in the Wild: A Tale of Two Type Systems [pdf]
by cjfd on Thursday April 15, 2021 @12:45AM
(#26816279)
It is strongly typed in the sense that 3 + "5" is an error. It also has duck typing which is weak. So, which is it? I would say it is more weak than strong.
[ Parent
| on HN ]
Re:Python 3 Types in the Wild: A Tale of Two Type Systems [pdf]
by NoThisIsMe on Thursday April 15, 2021 @01:06AM
(#26816361)
There are two axes: strong/weak and dynamic/static.
Examples:
Python: strong, dynamic
PHP: weak, dynamic
C: weak, static
Haskell: strong, static