Hazel@lemmygrad.ml to Memes@lemmygrad.ml · 1 year agoYou're programming communismlemmygrad.mlimagemessage-square8fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1imageYou're programming communismlemmygrad.mlHazel@lemmygrad.ml to Memes@lemmygrad.ml · 1 year agomessage-square8fedilink
minus-squarekredditacc@lemmygrad.mllinkfedilinkarrow-up1·1 year agoIs this some sort of OOP joke I’m too Rust to understand?
minus-squareloathsome dongeater@lemmygrad.mllinkfedilinkEnglisharrow-up0·1 year 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-up1·1 year 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.