[OT] Apple introduces Swift as Objective-C sucessor
Meta via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jun 2 16:29:26 PDT 2014
On Monday, 2 June 2014 at 23:01:56 UTC, deadalnix wrote:
> On Monday, 2 June 2014 at 22:53:10 UTC, ponce wrote:
>> - no exceptions (!)
>
> How do they do error handling ?
>
>> - type inference is "bidirectional by expression or statement"
>
> KAMOULOX ! (french people will understand)
It specifically says that the language has optional types, e.g.,
Maybe or Option. I don't know if they're a part of the ADT
feature or something separate, maybe some syntax sugar like C#'s
?.
More information about the Digitalmars-d
mailing list