Switter.su
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Hazel@lemmygrad.ml to Memes@lemmygrad.ml · 2 years ago

You're programming communism

lemmygrad.ml

message-square
24
fedilink
142

You're programming communism

lemmygrad.ml

Hazel@lemmygrad.ml to Memes@lemmygrad.ml · 2 years ago
message-square
24
fedilink
  • loathsome dongeater@lemmygrad.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 years ago

    I never understood the difference between class and structs. From my limited knowledge both Python classes and Rust structs can have methods and attributes.

    • CannotSleep420@lemmygrad.ml
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 years ago

      Structs are based, classes are cringe.

    • kredditacc@lemmygrad.ml
      link
      fedilink
      arrow-up
      4
      ·
      2 years ago

      Classes have inheritance. Rust structs don’t.

      • loathsome dongeater@lemmygrad.ml
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 years ago

        Now that you mention it, I do remember learning about features of OOP in my 9th grade Java class. Inheritance was one of them. There were other terms as well that I can’t recall clearly.

Memes@lemmygrad.ml

memes@lemmygrad.ml

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: !memes@lemmygrad.ml

Good memes, bad memes, unite towards a united front.

Visibility: Public
globe

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

  • 99 users / day
  • 369 users / week
  • 871 users / month
  • 1.68K users / 6 months
  • 1 local subscriber
  • 4.31K subscribers
  • 1.84K Posts
  • 12K Comments
  • Modlog
  • mods:
  • Muad'Dibber@lemmygrad.ml
  • CriticalResist8@lemmygrad.ml
  • CranberryJuice@lemmygrad.ml
  • BE: 0.19.10
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org