I'd love to see DScript one day ...
Chris via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jun 14 05:57:01 PDT 2016
On Tuesday, 14 June 2016 at 12:49:03 UTC, ketmar wrote:
> On Tuesday, 14 June 2016 at 06:52:38 UTC, cym13 wrote:
>> browser. It's
>> main forces (compile-time stuff and speed) would have no
>> impact at all and
>> the static typing would just make it harder for no good
>> reason. The web is a
>> very dynamic place so I'd rather have a very dynamic language.
>
> ah, that's why we have dart and typescript with static typing
> bolted on top of js... 'cause web needs more dynamics!
Dynamic typing should only be allowed to the extend `auto` works:
var name = "Herbert"
// ...
name = "Brown" // ok
name = 5 // error
More information about the Digitalmars-d
mailing list