• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Some non-obvious Swift goodies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Some non-obvious Swift goodies
      • From: Chris Lattner <email@hidden>
References: 
 >Some non-obvious Swift goodies (From: Jens Alfke <email@hidden>)
 >Re: Some non-obvious Swift goodies (From: Chris Lattner <email@hidden>)

  • Prev by Date: Re: Swift JIT
  • Next by Date: Re: Swift JIT
  • Previous by thread: Re: Some non-obvious Swift goodies
  • Next by thread: Re: Some non-obvious Swift goodies
  • Index(es):
    • Date
    • Thread