Re: Some non-obvious Swift goodies
Re: Some non-obvious Swift goodies
- Subject: Re: Some non-obvious Swift goodies
- From: Jens Alfke <email@hidden>
- Date: Wed, 04 Jun 2014 16:43:23 -0700
On Jun 4, 2014, at 12:06 AM, Chris Lattner < email@hidden> wrote: Fun fact: deferred evaluation is what allows short circuiting &&/|| to be defined in the library
*head explodes* O_O
I haven’t ever worked with a language that supports deferred evaluation … It’ll take a while to grok what it’s capable of. Cool. • There’s no notion of private or protected methods — all methods are fair game for anyone to call. This is apparently a known omission in the language that will be remedied in the future.
This is explicitly mentioned in the release notes as “not yet enabled, but coming soon”.
Ah, I hadn’t found the release notes yet. I’ll look in the Xcode docset for them.
—Jens |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden