oh god.. please no
# stdlib
e
oh god.. please no
11
a
Why :-P
Maybe not dynamic typing but an auto change to Any when there is a situation like that
g
You also can do that now just specify type explicitly
Copy code
var x: Any = 0
x = "hello"
a
You are right, but maybe it will be smart enough to change it automatically
Instead of specifing it explicitly
g
Smart enough and lose type safety for that and do not allow language to find some errors on compile time? No thanks. I actually don't know any use cases for this dynamic typing, maybe you could share some
a
Got your point, ok
g
There is
dynamic
modifier on Kotlin JS, but you have to specify it explicitly. And I would say that even on Kotlin JS many usecases of dynamic I would like to replace with some sort union types, it's more type safe