[OT] Apple introduces Swift as Objective-C sucessor
Paulo Pinto via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jun 2 23:32:12 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 ?
>
With optional types like in most FP languages.
The language needs to keep compatibility with the Objective-C
runtime, and Objective-C exceptions never worked across all
scenarios. Just check the Objective-C and Cocoa documentation
about possible caveats.
--
Paulo
More information about the Digitalmars-d
mailing list