@bestelbus22@lemmy.world to Programmer Humor@lemmy.mlEnglish • 5 days agoThe meaning of thislemmy.mlimagemessage-square56fedilinkarrow-up1520arrow-down10
arrow-up1520arrow-down1imageThe meaning of thislemmy.ml@bestelbus22@lemmy.world to Programmer Humor@lemmy.mlEnglish • 5 days agomessage-square56fedilink
minus-square@bestelbus22@lemmy.worldOPlinkfedilink4•4 days agoInteresting, how did they do inheritance? Something like void *super? Also why not switch to CPP if you wanna do OOP?
minus-square@xiii@lemmy.worldlinkfedilink2•3 days agoIn general, ‘classes’ declarations were done with macro. I don’t remember the exact code — something akin to BEGIN_CLASS(A, Parent); CLASS_MEMBER(a...) END_CLASS(); The project had started before C++ existed, and the switch would be too costly. It’s not just OOP part, also reflection mechanism with bindings to the homemade scripting language, and multi-platform UI library. It was a gem of its time.
minus-square@bestelbus22@lemmy.worldOPlinkfedilink1•3 days agoThat sounds like quite a challenge to maintain, to speak in euphemisms ;)
minus-square@xiii@lemmy.worldlinkfedilink2•3 days agoRevolutionary technologies of the '80 make me appreciate modern programming languages and especially tooling much more.
Interesting, how did they do inheritance? Something like
void *super
? Also why not switch to CPP if you wanna do OOP?In general, ‘classes’ declarations were done with macro. I don’t remember the exact code — something akin to
The project had started before C++ existed, and the switch would be too costly. It’s not just OOP part, also reflection mechanism with bindings to the homemade scripting language, and multi-platform UI library. It was a gem of its time.
That sounds like quite a challenge to maintain, to speak in euphemisms ;)
Revolutionary technologies of the '80 make me appreciate modern programming languages and especially tooling much more.