• 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: Chris Lattner <email@hidden>
  • Date: Wed, 04 Jun 2014 21:22:53 -0700


On Jun 4, 2014, at 4:43 PM, Jens Alfke <email@hidden> wrote:


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

The rabbit hole goes deep.  “true” and “false” are actually computed properties (try jumping to definition on them). :-)

-Chris
 _______________________________________________
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

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

  • Prev by Date: Re: Swift question
  • Next by Date: Class & Method Scope with Swift?
  • Previous by thread: Re: Some non-obvious Swift goodies
  • Next by thread: Re: Some non-obvious Swift goodies
  • Index(es):
    • Date
    • Thread