TheDuffmaster@lemmy.world to Programmer Humor@lemmy.ml · 2 years agoSwitching to OCaml boislemmy.worldimagemessage-square83linkfedilinkarrow-up123arrow-down10
arrow-up123arrow-down1imageSwitching to OCaml boislemmy.worldTheDuffmaster@lemmy.world to Programmer Humor@lemmy.ml · 2 years agomessage-square83linkfedilink
minus-squareCaveman@lemmy.worldlinkfedilinkarrow-up1·2 years agoUsing classes is nice tbh. Using inheritance usually isn’t. Inheriting from inherited class should be forbidden.
minus-squarelseif@sopuli.xyzlinkfedilinkarrow-up0·2 years 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?