4 ms·
Dynamic languages can convert types in runtime (so 1 + "f" = "1f") and not so many languages (not only dynamic) cares about mutability.
by EugeneOZ 9y ago
Dynamic languages can convert types in runtime (so 1 + "f" = "1f") and not so many languages (not only dynamic) cares about mutability.
- dragonwriter 9y agoSupporting an addition operator that accepts mixed type operands has no relationship to being dynamically typed.
- poooogles 9y agoThis is weak typing not dynamic typing. 1 + f in modern Python results in a ValueError.
- saghm 9y agoFrom quick check, it looks like Java can do this coercion, and it's not dynamically typed.