this post was submitted on 29 Nov 2023
0 points (NaN% liked)

Memes

4022 readers
95 users here now

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

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 0 points 11 months ago (1 children)

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

[โ€“] [email protected] 0 points 11 months ago

Structs are based, classes are cringe.