programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
snaggen to ProgrammingEnglish · 2 years ago

The Tragic Death of Inheritance

avivcarmi.com

external-link
message-square
47
link
fedilink
  • cross-posted to:
  • rust
103
external-link

The Tragic Death of Inheritance

avivcarmi.com

snaggen to ProgrammingEnglish · 2 years ago
message-square
47
link
fedilink
  • cross-posted to:
  • rust
This is a story about how I gradually fell in love with composition
  • mrsgreenpotato@discuss.tchncs.deBannedBanned from community
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    7 months ago

    Removed by mod

    • snaggenOP
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      Traits are similar to an interface, but with some differences. Here is a comparison with Java interfaces https://stackoverflow.com/a/69485860

Programming

programming

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 599 users / day
  • 1.93K users / week
  • 3.4K users / month
  • 7.46K users / 6 months
  • 2.73K local subscribers
  • 20.3K subscribers
  • 2.21K Posts
  • 35.7K Comments
  • Modlog
  • mods:
  • snowe
  • Ategon
  • MaungaHikoi@lemmy.nz
  • UlrikHD
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org