2 ms·
x = 3 print(x) x = "hello" print(x) Not possible with static typing and type inference (which is static typing without annotation) but done all the
by kqr 11y ago
x = 3
print(x)
x = "hello"
print(x)
Not possible with static typing and type inference (which is static typing without annotation) but done all the time with dynamic typing. (Though still not a good idea, in my mind, but to each their own.)