• Home
  • About

Saved searches

  • Remove
  • Verified account @
Suggested users
  • Verified account @
  • Verified account @
  • Language: English
    • Bahasa Indonesia
    • Bahasa Melayu
    • Català
    • Čeština
    • Dansk
    • Deutsch
    • English UK
    • Español
    • Filipino
    • Français
    • Hrvatski
    • Italiano
    • Magyar
    • Nederlands
    • Norsk
    • Polski
    • Português
    • Română
    • Slovenčina
    • Suomi
    • Svenska
    • Tiếng Việt
    • Türkçe
    • Ελληνικά
    • Български език
    • Русский
    • Српски
    • Українська мова
    • עִבְרִית
    • العربية
    • فارسی
    • मराठी
    • हिन्दी
    • বাংলা
    • ગુજરાતી
    • தமிழ்
    • ಕನ್ನಡ
    • ภาษาไทย
    • 한국어
    • 日本語
    • 简体中文
    • 繁體中文
  • Have an account? Log in
    Have an account?
    · Forgot password?

    New to Twitter?
    Sign up
By using Twitter’s services you agree to our Cookie Use and Data Transfer outside the EU. We and our partners operate globally and use cookies, including for analytics, personalisation, and ads.
kongtomorrow's profile
Ken Ferry
Ken Ferry
Ken Ferry
@kongtomorrow

Ken Ferry

@kongtomorrow

Man in business suit levitating. Developer of @understudyapp

Joined March 2007
  • © 2016 Twitter
  • About
  • Help
  • Terms
  • Privacy
  • Cookies
  • Ads info
Dismiss
Previous
Next

Go to a person's profile

Saved searches

  • Remove
  • Verified account @
Suggested users
  • Verified account @
  • Verified account @

Retweet this to your followers?

Optional comment for Retweet
 
 

Saved searches

  • Remove
  • Verified account @
Suggested users
  • Verified account @
  • Verified account @
140

Are you sure you want to delete this Tweet?

Promote this Tweet

Block

  • Add a location to your Tweets

    When you tweet with a location, Twitter stores that location. You can switch location on/off before each Tweet and always have the option to delete your location history. Learn more

    Profile summary

    Your lists

    Create a new list


    Under 100 characters, optional

    Privacy

    Copy link to Tweet

    Embed this Tweet

    Embed this Video

    Add this Tweet to your website by copying the code below. Learn more

    Add this video to your website by copying the code below. Learn more

    Hmm, there was a problem reaching the server.

    Preview

    Log in to Twitter

    · Forgot password?
    Don't have an account? Sign up »

    Sign up for Twitter

    Not on Twitter? Sign up, tune into the things you care about, and get updates as they happen.

    Sign up
    Have an account? Log in »

    Two-way (sending and receiving) short codes:

    Country Code For customers of
    United States 40404 (any)
    Canada 21212 (any)
    United Kingdom 86444 Vodafone, Orange, 3, O2
    Brazil 40404 Nextel, TIM
    Haiti 40404 Digicel, Voila
    Ireland 51210 Vodafone, O2
    India 53000 Bharti Airtel, Videocon, Reliance
    Indonesia 89887 AXIS, 3, Telkomsel, Indosat, XL Axiata
    Italy 4880804 Wind
    3424486444 Vodafone
    » See SMS short codes for other countries

    Confirmation

     

    Buy Now

    Hmm... Something went wrong. Please try again.

    Welcome home!

    This timeline is where you’ll spend most of your time, getting instant updates about what matters to you.

    Tweets not working for you?

    Hover over the profile pic and click the Following button to unfollow any account.

    Say a lot with a little

    When you see a Tweet you love, tap the heart — it lets the person who wrote it know you shared the love.

    Spread the word

    The fastest way to share someone else’s Tweet with your followers is with a Retweet. Tap the icon to send it instantly.

    Join the conversation

    Add your thoughts about any Tweet with a Reply. Find a topic you’re passionate about, and jump right in.

    Learn the latest

    Get instant insight into what people are talking about now.

    Get more of what you love

    Follow more accounts to get instant updates about topics you care about.

    Find what's happening

    See the latest conversations about any topic instantly.

    Never miss a Moment

    Catch up instantly on the best stories happening as they unfold.

    Previous Tweet Next Tweet
    Ken Ferry ‏@kongtomorrow 8 Aug 2014

    you're freaking me out, Swift.https://gist.github.com/kongtomorrow/8d1ac5161021451c794c …

    • Retweets 2
    • Likes 3
    • Indrajit Chakrabarty Brett Evans Jason J Wiggins Jake Januzelli Martin Pilkington
    1:23 PM - 8 Aug 2014
    0 replies 2 retweets 3 likes
      1. Spooky Streza ‏@SteveStreza 8 Aug 2014 Downtown, San Francisco

        @kongtomorrow @pilky it’d make sense to me that the compiler would implicitly optionalize a non-optional type

        0 replies 0 retweets 0 likes
      2. View other replies
      3. Martin Pilkington ‏@pilky 8 Aug 2014

        @SteveStreza @kongtomorrow Still seems a little weird. As much as I dislike strong typing, my gut feeling is that should be an error

        0 replies 0 retweets 0 likes
      4. Spooky Streza ‏@SteveStreza 8 Aug 2014 Downtown, San Francisco

        @pilky @kongtomorrow a non-optional T fully satisfies the requirements of optional T. The compiler should infer that and autobox it up.

        0 replies 0 retweets 0 likes
      5. View other replies
      6. Ken Ferry ‏@kongtomorrow 8 Aug 2014

        @stevestreza @pilky updated gist to be more clear about what I think it must be doing.https://gist.github.com/kongtomorrow/8d1ac5161021451c794c …

        0 replies 0 retweets 0 likes
      7. Mugwump ‏@ozaed 8 Aug 2014

        @kongtomorrow @SteveStreza @pilky Any reason why you use (Int?) instead of Int? in the definition of foo? Both work but still less () > ∞

        0 replies 0 retweets 0 likes
      8. Ken Ferry ‏@kongtomorrow 8 Aug 2014

        @ozaed @stevestreza @pilky wanted to be clear that it wasn't the function itself that was optional, given that that's what we're focusing on

        0 replies 0 retweets 0 likes
      9. Mugwump ‏@ozaed 8 Aug 2014

        @kongtomorrow @SteveStreza @pilky But you run into different semantics with additional (), see the Swift book about multiple return values

        0 replies 0 retweets 0 likes
      10. Ken Ferry ‏@kongtomorrow 8 Aug 2014

        @ozaed @stevestreza @pilky tuple containing a single A and A are identical in Swift. Try ((((((((A)))))))).

        0 replies 0 retweets 0 likes
      11. Show more
      1. Kyle S. ‏@optshiftk 8 Aug 2014

        @kongtomorrow Maybe T is a subtype of T? ?

        0 replies 0 retweets 0 likes
      2. Airspeed Velocity ‏@AirspeedSwift 8 Aug 2014

        @optshiftk @kongtomorrow Swift silently upconverts T into T? so that you can pass non-optionals into optional arguments.

        0 replies 0 retweets 0 likes
      3. View other replies
      4. Ken Ferry ‏@kongtomorrow 8 Aug 2014

        @airspeedswift @optshiftk can't very well reach inside of the closure to do it, though. Must allocate a wrapping closure.

        0 replies 0 retweets 0 likes
      5. View other replies
      6. Kyle S. ‏@optshiftk 8 Aug 2014

        @kongtomorrow @airspeedswift Actually, the compiler might even be choosing some printlnHelper(_: Int?) based on the *call site*.

        0 replies 0 retweets 0 likes
      7. View other replies
      8. Ken Ferry ‏@kongtomorrow 8 Aug 2014

        @optshiftk @airspeedswift it'd have to do that _everywhere_ though if that was the case. It's not hard for caller to wrap in a closure…

        0 replies 0 retweets 0 likes
      9. View other replies
      10. Ken Ferry ‏@kongtomorrow 8 Aug 2014

        @optshiftk @airspeedswift …just more work than I'd expect to be happening implicitly in a lang that won't even coerce number types.

        0 replies 0 retweets 0 likes
    1. Martin Pilkington ‏@pilky 8 Aug 2014

      @kongtomorrow Type systems: how do they work?

      0 replies 0 retweets 0 likes
    2. Tammo Freese ‏@tammofreese 8 Aug 2014

      @kongtomorrow @pilky I think it's actually quite beautiful that this works.

      0 replies 0 retweets 0 likes
    3. Ezekiel Pierson ‏@PiersonBro 8 Aug 2014

      @kongtomorrow How is this incorrect behavior? It exhibits the same behavior as if ‘f’ was a pure optional. What am I missing?

      0 replies 0 retweets 0 likes

    Loading seems to be taking a while.

    Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

      Promoted Tweet

      false

      • © 2016 Twitter
      • About
      • Help
      • Terms
      • Privacy
      • Cookies
      • Ads info