• 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.
eevee's profile
☀⛱ eevee ⛱☀
☀⛱ eevee ⛱☀
 ☀ ⛱ eevee  ⛱ ☀
@eevee

 ☀ ⛱ eevee  ⛱ ☀

@eevee

hey! i write and draw and make games and do computers. but mostly i make bad jokes and show off my cat. she/they/he

Joined April 2008
  • © 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

    Your reply includes the people in this conversation up to this point. Learn more

    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.

    Previous Tweet
     ☀ ⛱ eevee  ⛱ ☀ ‏@eevee 3 Mar 2015

    people who love inheritance: please tell me what problems it has solved for you that you don't think could be solved otherwise

    • Retweets 3
    • Likes 4
    • Joshua Lewis Joshua Yanovski Jannis Leidel Veggie Woof Yitz Schaffer FROM glyph:latest Rob Howard ଘ(੭ˊᵕˋ)੭
    1:54 PM - 3 Mar 2015
    3 retweets 4 likes
      1.  ☀ ⛱ eevee  ⛱ ☀ ‏@eevee 3 Mar 2015

        i guess the case inheritance is best suited for is deep hierarchy. biggest example that comes to mind is GUI libs.

        0 retweets 1 like
      2. View other replies
      3.  ☀ ⛱ eevee  ⛱ ☀ ‏@eevee 3 Mar 2015

        the question, then, is: how would you rearrange wx or qt to use traits instead?

        0 retweets 1 like
      4. View other replies
      5.  ☀ ⛱ eevee  ⛱ ☀ ‏@eevee 3 Mar 2015

        worst case is where each level adds extra behavior to the same method — can't exactly ask each trait for its input on some operation

        0 retweets 0 likes
      6. View other replies
      7.  ☀ ⛱ eevee  ⛱ ☀ ‏@eevee 3 Mar 2015

        or what if you could? idk what it'd look like but that's the basis of most plugin systems, except they have to reinvent it at runtime

        0 retweets 1 like
      8. Owen Shepherd ‏@oshepherd 3 Mar 2015

        .@eevee On the subject of inheritance: How often do you want to override a method... except you want superclass functionality to "wrap" it?

        0 retweets 0 likes
      9. Owen Shepherd ‏@oshepherd 3 Mar 2015

        .@eevee How about methods which work "backwards", i.e. instead of child doing "super.method(blah)", the parent does "child.method(blah)"?

        0 retweets 0 likes
      10. Owen Shepherd ‏@oshepherd 3 Mar 2015

        .@eevee It seems like a really desirable feature that no language that I'm aware of supports

        0 retweets 0 likes
      11.  ☀ ⛱ eevee  ⛱ ☀ ‏@eevee 3 Mar 2015

        @oshepherd well you can do that trivially by just making a separate method that the child implements

        0 retweets 0 likes
      12. Show more
      1. Stiv, Tweet Twit ‏@atweetingtwit 3 Mar 2015

        @eevee Behavior specialization. otherwise I just use interfaces. This seems to be something Rust gets really correct

        0 retweets 0 likes
      2.  ☀ ⛱ eevee  ⛱ ☀ ‏@eevee 3 Mar 2015

        @atweetingtwit can you think of a case where rust's traits and default methods wouldn't work?

        0 retweets 0 likes
      3. View other replies
      4. Insuf Advan ‏@ben0x539 3 Mar 2015

        @eevee i'm not sure you can do stuff like dynamic downcasting with traits objects?

        0 retweets 0 likes
      5.  ☀ ⛱ eevee  ⛱ ☀ ‏@eevee 3 Mar 2015

        @ben0x539 since i'm making the language i could just say you totally can ;)

        0 retweets 0 likes
      6. View other replies
      7. Insuf Advan ‏@ben0x539 3 Mar 2015

        @eevee does the default method encoding of overridable methods break down immediately when you inherit again and override the non-default

        0 retweets 0 likes
      8.  ☀ ⛱ eevee  ⛱ ☀ ‏@eevee 3 Mar 2015

        @ben0x539 well in a trait-based system you just can't inherit again...

        0 retweets 0 likes
      1. Dustin King ‏@cathodion 3 Mar 2015

        @eevee @glyph allowing a caller to treat elements of different but related classes the same (in a strongly typed language).

        0 retweets 0 likes
      2. View other replies
      3. Dustin King ‏@cathodion 3 Mar 2015

        @eevee @glyph allowing common behavior and structure of different but related classes to only be implemented once.

        0 retweets 0 likes
      4.  ☀ ⛱ eevee  ⛱ ☀ ‏@eevee 3 Mar 2015

        @cathodion @glyph well yeah but you can always make any behavior only be implemented once, by writing a function ;)

        0 retweets 0 likes
      5. Dustin King ‏@cathodion 3 Mar 2015

        @eevee @glyph that's what the superclass constructor is :)

        0 retweets 0 likes
      6. Dustin King ‏@cathodion 3 Mar 2015

        @eevee @glyph TBH, i'm having trouble thinking of an example where it's inheritance and not polymorphism that's useful.

        0 retweets 0 likes
      7.  ☀ ⛱ eevee  ⛱ ☀ ‏@eevee 3 Mar 2015

        @cathodion @glyph yeah you can get polymorphism with traits. rust is considering inheritance, but again, mostly for tall hierarchies

        0 retweets 0 likes
      8. Dustin King ‏@cathodion 3 Mar 2015

        @eevee @glyph example that springs to mind is Django's ORM. every model class gets a lot of behavior from db.Model or whatever.

        0 retweets 0 likes
      9. View other replies
      10. Dustin King ‏@cathodion 3 Mar 2015

        @eevee @glyph i have mixed feelings about client classes inheriting from library classes though.

        0 retweets 1 like

    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