Safe reference counting cannot be implemented as a library
Jacob Carlborg via Digitalmars-d
digitalmars-d at puremagic.com
Wed Oct 28 01:07:39 PDT 2015
On 2015-10-28 07:07, Paulo Pinto wrote:
> However their exceptions work in a more RC friendly way.
Swift doesn't support exceptions. And in Objective-C exceptions are like
Errors in D. They should not be caught and the program should terminate.
The error handling support that was added in Swift 2.0 is syntax sugar
for the Objective-C pattern to use NSError out parameters for error
handling.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list