You are viewing a single thread.
View all comments View context
7 points

Is this some sort of OOP joke I’m too Rust to understand?

permalink
report
parent
reply
3 points

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

permalink
report
parent
reply
6 points

Structs are based, classes are cringe.

permalink
report
parent
reply
4 points

Classes have inheritance. Rust structs don’t.

permalink
report
parent
reply
3 points

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.

permalink
report
parent
reply

Memes

!memes@lemmygrad.ml

Create post

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

Community stats

  • 792

    Monthly active users

  • 1.5K

    Posts

  • 12K

    Comments