• 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.
brentsimmons's profile
Brent Simmons
Brent Simmons
Brent Simmons
@brentsimmons

Brent Simmons

@brentsimmons

Omni. The Record. Secret projects.

Joined January 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
    Brent Simmons ‏@brentsimmons 2 Aug 2015

    Swift protocols, arrays, and casting: http://inessential.com/2015/08/02/swift_diary_7_protocols_arrays_and_c …

    • Retweets 5
    • Likes 19
    • Taufik Obet AbdouEtt Nathan Jones PatZearfoss Christian Roman NilStack Kenshi Rodrigo  Reis Alessio 📱💻🖱🍺
    5:07 PM - 2 Aug 2015
    0 replies 5 retweets 19 likes
      1. Kevin Ballard ‏@eridius 2 Aug 2015

        @brentsimmons EmailMessage is a NodeRepresentedObject, but [EmailMessage] is not a [NodeRepresentedObject].

        0 replies 0 retweets 1 like
      2. Kevin Ballard ‏@eridius 2 Aug 2015

        @brentsimmons More generally, the in-memory representations of NodeRepresentedObject and EmailMessage differ, so conversion is required.

        0 replies 0 retweets 0 likes
      3. View other replies
      4. Brent Simmons ‏@brentsimmons 2 Aug 2015

        @eridius Nevertheless, I want this to work. It seems obvious that it should work, and I don’t see a downside.

        0 replies 0 retweets 0 likes
      5. View other replies
      6. Kevin Ballard ‏@eridius 2 Aug 2015

        @brentsimmons If it did work, then you can accidentally get O(N) performance in code that you thought was O(1).

        0 replies 0 retweets 4 likes
      1. Dave ☀️ ‏@davecporter 2 Aug 2015

        Hey you guys I heard @brentsimmons is working on an email client

        0 replies 3 retweets 8 likes
      2. Adrian Sutton ‏@ajsutton 2 Aug 2015

        @davecporter @brentsimmons Give him another couple of blog posts - he'll change his mind...

        0 replies 0 retweets 0 likes
      3. Brent Simmons ‏@brentsimmons 2 Aug 2015

        @ajsutton @davecporter Sometimes I think it’s great how willing I am to change my mind in public. And then later I think it’s dumb.

        0 replies 0 retweets 2 likes
      4. Adrian Sutton ‏@ajsutton 2 Aug 2015

        @brentsimmons @davecporter My theory: always work somewhere that makes you feel stupid. For you that seems to be the internet.

        0 replies 0 retweets 0 likes
      5. Adrian Sutton ‏@ajsutton 2 Aug 2015

        @brentsimmons @davecporter The basis being that you have the most to learn when you feel stupid (not to work in abusive environments).

        0 replies 0 retweets 0 likes
      1. David Owens II ‏@owensd 3 Aug 2015

        @brentsimmons protocols aren't types which I think is the crux of your problem; use classes instead: https://gist.github.com/owensd/c00ecc4f4bf307f8e2db ….

        0 replies 1 retweet 4 likes
      2. View other replies
      3. Kyle S. ‏@optshiftk 3 Aug 2015

        @brentsimmons @owensd Protocols are definitely types: https://gist.github.com/kylesluder/6959caadcacca4921d0d …

        0 replies 0 retweets 0 likes
      4. David Owens II ‏@owensd 3 Aug 2015

        David Owens II Retweeted Joe Groff

        @optshiftk @brentsimmons sure, but they aren't usable like types:https://twitter.com/jckarter/status/623242439982092288 …

        David Owens II added,

        Joe Groff @jckarter
        @owensd Both. When a protocol has Self argument reqts, it's much less useful as a type, since the Self operations can't apply.
        0 replies 0 retweets 0 likes
      5. Kyle S. ‏@optshiftk 3 Aug 2015

        @owensd @brentsimmons “Protocols with Self requirements are not usable in all Type contexts” is different from “Protocols aren’t types.”

        0 replies 0 retweets 0 likes
      6. David Owens II ‏@owensd 3 Aug 2015

        @optshiftk @brentsimmons I only have 140 characters; protocols are a kind of type, but they are not usable like a type. That better?

        0 replies 0 retweets 1 like
      7. David Owens II ‏@owensd 3 Aug 2015

        @optshiftk @brentsimmons also, Self requirements aren't the only limitation, just another example of their limitations as a type.

        0 replies 0 retweets 1 like
      1. ttepasse ‏@ttepasse 2 Aug 2015

        @brentsimmons Generics to the .… ok, to some form of rescue: https://gist.github.com/ttepasse/5fe8ee3a7fa765277faf …

        0 replies 1 retweet 1 like
      2. View other replies
      3. Joe Groff ‏@jckarter 2 Aug 2015

        @ttepasse @brentsimmons The fully generic approach might be the least painful route though.

        0 replies 0 retweets 1 like
    1. Kevin Ballard ‏@eridius 2 Aug 2015

      @brentsimmons Also, you can write the solution simpler as `return messages.map({$0})`

      0 replies 0 retweets 1 like
      1. Jacob Bandes-Storch ‏@jtbandes 2 Aug 2015

        @brentsimmons In this case, would it make sense instead to say “typealias Child; var children: [Children]” ?

        0 replies 0 retweets 0 likes
      2. Jacob Schwartz ‏@isoiphone 2 Aug 2015

        @jtbandes @brentsimmons I've never found a satisfactory solution to this either. I have similar problem in a Swift 1.2 app.

        0 replies 0 retweets 0 likes
      3. Jacob Schwartz ‏@isoiphone 2 Aug 2015

        @jtbandes @brentsimmons how can parent class (or protocol) have a generic collection and then children (or extensions) specialize it nicely?

        0 replies 0 retweets 0 likes
      4. View other replies
      5. Jacob Schwartz ‏@isoiphone 2 Aug 2015

        @jtbandes @brentsimmons I should re-watch protocol oriented programming talk then get into a sweat lodge and solve this.

        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