I'd love to see DScript one day ...

Ola Fosheim Grøstad via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 15 03:27:14 PDT 2016


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.



More information about the Digitalmars-d mailing list