• copacetic@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 hours ago

    Quite a while ago, I wrote this to document my understanding what OOP actually is.

    This sentence at the end is interesting:

    On the other hand it sounds unlikely that there will be a popular language without object-oriented influences some day, so at least minimal syntax-level support is desirable.

    Rust was published like one year later and it can be considered popular by now. Does Rust support OOP via traits? Kind of yes, but so does Haskell with typeclasses.