[OT] Swift removing minor features to piss me off

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Thu Apr 28 13:54:27 PDT 2016


On 4/28/16 4:36 PM, Daniel Kozak via Digitalmars-d wrote:
> Dne 28.4.2016 v 22:20 Steven Schveighoffer via Digitalmars-d napsal(a):
>
>> (BTW, swift doesn't allow arbitrary new scopes)
> And D does?
>

Sure.

{
    int i = 0;
    while(i < 100) {...}
}

// i no longer defined

Won't work in swift.

-Steve


More information about the Digitalmars-d mailing list