Hazel@lemmygrad.ml to Memes@lemmygrad.ml · 1 year agoYou're programming communismlemmygrad.mlimagemessage-square7fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1imageYou're programming communismlemmygrad.mlHazel@lemmygrad.ml to Memes@lemmygrad.ml · 1 year agomessage-square7fedilink
minus-squarekredditacc@lemmygrad.mllinkfedilinkarrow-up0·11 months agoIs this some sort of OOP joke I’m too Rust to understand?
minus-squareloathsome dongeater@lemmygrad.mllinkfedilinkEnglisharrow-up0·11 months agoI never understood the difference between class and structs. From my limited knowledge both Python classes and Rust structs can have methods and attributes.
minus-squareCannotSleep420@lemmygrad.mllinkfedilinkEnglisharrow-up0·11 months agoStructs are based, classes are cringe.
Is this some sort of OOP joke I’m too Rust to understand?
I never understood the difference between class and structs. From my limited knowledge both Python classes and Rust structs can have methods and attributes.
Structs are based, classes are cringe.