⸻ Ban DHMO 🇦🇺 ⸻@aussie.zone to Programmer Humor@lemmy.mlEnglish · 26 days agoThe C++ learning processaussie.zoneimagemessage-square117fedilinkarrow-up1447arrow-down15file-text
arrow-up1442arrow-down1imageThe C++ learning processaussie.zone⸻ Ban DHMO 🇦🇺 ⸻@aussie.zone to Programmer Humor@lemmy.mlEnglish · 26 days agomessage-square117fedilinkfile-text
minus-squaremagic_lobster_party@fedia.iolinkfedilinkarrow-up0·26 days agoAsk Bjarne to add interfaces enough many times until he gives in. On a more serious note, I’m not exactly sure what the best C++ practice is. I guess you just have to live with abstract classes if you really want interfaces.
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkarrow-up1·26 days agoAn abstract class with no member variables serves the same purpose in C++.
Ask Bjarne to add interfaces enough many times until he gives in.
On a more serious note, I’m not exactly sure what the best C++ practice is. I guess you just have to live with abstract classes if you really want interfaces.
An abstract class with no member variables serves the same purpose in C++.