Y
Hacker News
new
|
ask
|
show
|
jobs
by
EugeneOZ
3323 days ago
Dynamic languages can convert types in runtime (so 1 + "f" = "1f") and not so many languages (not only dynamic) cares about mutability.
3 comments
dragonwriter
3323 days ago
Supporting an addition operator that accepts mixed type operands has no relationship to being dynamically typed.
link
saghm
3321 days ago
From quick check, it looks like Java can do this coercion, and it's not dynamically typed.
link
poooogles
3323 days ago
This is weak typing not dynamic typing.
1 + f in modern Python results in a ValueError.
link