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

Chris via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 15 04:33:23 PDT 2016


On Wednesday, 15 June 2016 at 10:27:14 UTC, Ola Fosheim Grøstad 
wrote:
>
> 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.

But Python for example doesn't care. What you describe is 
basically trying to mimic static typing.


More information about the Digitalmars-d mailing list