On Wednesday, 15 June 2016 at 09:40:39 UTC, Chris wrote:
On Wednesday, 15 June 2016 at 09:09:42 UTC, Ola Fosheim Grøstad
wrote:
This isn't related to dynamic typing. It is related to
variable assignment with implicit declaration and
initialization.
But this is part of the definition of a dynamic language, isn't
it?
Sorry, I missed this question.
No, some languages distinguish by requiring you to use special
syntax like "let x = 4" for introducing the name "x" and so on.
Some languages also allow you to freeze a variable so it becomes
constant.
There is a pretty large space of different semantics to choose
from.