• 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.
owensd's profile
David Owens II
David Owens II
David Owens II
@owensd

David Owens II

@owensd

I'm a builder of things. I like to challenge the norms. Technology lover.

Joined January 2009
  • © 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
    David Owens II ‏@owensd Jun 1

    If you have to keep using type erasures to actually work with your types, doesn't that suggest something? Maybe I don't get it.

    • Like 1
    • Alexander Bigbad
    9:02 AM - 1 Jun 2016
    0 replies 0 retweets 1 like
      1. HecthorOS ‏@allonsykraken Jun 1

        @owensd It's rare, contextual, & never done outside of a protocol for me. 😁 [1]

        0 replies 0 retweets 0 likes
      2. David Owens II ‏@owensd Jun 1

        @allonsykraken I don't find it rare at all. I often deal with collections of types and that requires type erasure a lot.

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

        @allonsykraken so I really just end up coding against the protocol itself and the specific type is not really even needed to be known.

        0 replies 0 retweets 1 like
      4. HecthorOS ‏@allonsykraken Jun 1 Dublin, CA

        @owensd Right! I haven't needed to deal with a "collection of types" scenario yet but personally I find type erasure very useful sometimes.

        0 replies 0 retweets 0 likes
      5. HecthorOS ‏@allonsykraken Jun 1 California, USA

        @owensd Maybe I'm missing something here too. Sometimes I see convos indicating bad things about type erasure. I'm for it TBH

        0 replies 0 retweets 0 likes
      6. David Owens II ‏@owensd Jun 1

        @allonsykraken I find it easier to forgo the additional type information early on so I don't have to deal with the boilerplate later.

        0 replies 0 retweets 1 like
      7. HecthorOS ‏@allonsykraken Jun 1

        @owensd True story. It's why I do it. I don't think it indicates anything when you have to keep using it. I could be wrong, but I believe...

        0 replies 0 retweets 0 likes
      8. HecthorOS ‏@allonsykraken Jun 1 Ashland, CA

        @owensd other languages do it for you by the compiler generating thunks in common scenarios. It stinks that we have to do it by hand 😔

        0 replies 0 retweets 0 likes
      1. Matthew Johnson ‏@anandabits Jun 1

        @owensd it suggests that we badly need generalized existentials

        0 replies 0 retweets 0 likes
      2. David Owens II ‏@owensd Jun 1

        @anandabits and once you have that, all you know again is that you have a Power from calling attack().

        0 replies 0 retweets 0 likes
      3. View other replies
      4. Matthew Johnson ‏@anandabits Jun 1

        @owensd the amount of type info will depend on the constraints you provide. Right solution depends on your problem and your design of course

        0 replies 0 retweets 0 likes
      5. Joe Groff ‏@jckarter Jun 1

        @anandabits @owensd Being only as precise as you need to be lets you stay flexible and avoid unnecessary refactoring.

        0 replies 0 retweets 0 likes
      6. Matthew Johnson ‏@anandabits Jun 1

        @jckarter @owensd agree. And learning how to make the right tradeoffs takes time and experience.

        0 replies 0 retweets 0 likes
      7. Joe Groff ‏@jckarter Jun 1

        @anandabits @owensd Absent other constraints, I think it's better to err on the side of more general types.

        0 replies 0 retweets 0 likes
      8. Matthew Johnson ‏@anandabits Jun 1

        @jckarter @owensd certainly better to accept more general inputs when possible. Outputs depend on design - what details the contract exposes

        0 replies 0 retweets 0 likes
    1. Joe Groff ‏@jckarter Jun 1

      @owensd Only keep the types you need. Type hoarding is unhealthy and may require professional help

      0 replies 0 retweets 7 likes
    2. HecthorOS ‏@allonsykraken Jun 1

      @owensd Of course, it could just be a failed attempt at being clever in my case 😂

      0 replies 0 retweets 0 likes
    3. HecthorOS ‏@allonsykraken Jun 1

      @owensd Sometimes code doesn't care about the underlying type. Just the behavior guaranteed by that protocols contract. [2]

      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