> On 07.12.2015, at 20:03, Jens Alfke <j...@mooseyard.com> wrote: > > >> On Dec 7, 2015, at 10:56 AM, Jan Neumüller via swift-users >> <swift-users@swift.org <mailto:swift-users@swift.org>> wrote: >> >> But what overhead? As you know Swift has *NO* exceptions. It’s just syntax >> sugar for normale error values. > > Mostly the overhead in the caller of having to pass a (hidden) error > parameter into the call, and check the return value and branch afterwards.
I fail to see any overhead here. Its the absolute minimum to get checked values. Anything less is not checking. Jan
_______________________________________________ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users