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