Hazel@lemmygrad.ml to Memes@lemmygrad.ml · 10 months agoYou're programming communismlemmygrad.mlimagemessage-square8fedilinkarrow-up12arrow-down10
arrow-up12arrow-down1imageYou're programming communismlemmygrad.mlHazel@lemmygrad.ml to Memes@lemmygrad.ml · 10 months agomessage-square8fedilink
minus-squareloathsome dongeater@lemmygrad.mllinkfedilinkEnglisharrow-up0·10 months agoclass Communism: pass tankies owned
minus-squarekredditacc@lemmygrad.mllinkfedilinkarrow-up1·10 months agoIs this some sort of OOP joke I’m too Rust to understand?
minus-squareloathsome dongeater@lemmygrad.mllinkfedilinkEnglisharrow-up0·10 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-square🔻Sleepless One🔻@lemmygrad.mllinkfedilinkEnglisharrow-up1·10 months agoStructs are based, classes are cringe.
class Communism: pass
tankies owned
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.