TheDuffmaster@lemmy.world to Programmer Humor@lemmy.ml · 1 year agoSwitching to OCaml boislemmy.worldimagemessage-square78fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageSwitching to OCaml boislemmy.worldTheDuffmaster@lemmy.world to Programmer Humor@lemmy.ml · 1 year agomessage-square78fedilink
minus-squareCaveman@lemmy.worldlinkfedilinkarrow-up0·1 year agoUsing classes is nice tbh. Using inheritance usually isn’t. Inheriting from inherited class should be forbidden.
minus-squarelseif@sopuli.xyzlinkfedilinkarrow-up0·1 year ago Inheriting from inherited class should be forbidden. so an interface with state?
Using classes is nice tbh. Using inheritance usually isn’t. Inheriting from inherited class should be forbidden.
so an interface with state?