@[email protected] to Programmer [email protected]English • 12 days agoThe meaning of thislemmy.worldimagemessage-square71fedilinkarrow-up1475cross-posted to: [email protected]
arrow-up1475imageThe meaning of thislemmy.world@[email protected] to Programmer [email protected]English • 12 days agomessage-square71fedilinkcross-posted to: [email protected]
minus-square@[email protected]OPlinkfedilink4•12 days agoInteresting, how did they do inheritance? Something like void *super? Also why not switch to CPP if you wanna do OOP?
minus-square@[email protected]linkfedilink2•10 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@[email protected]OPlinkfedilink1•10 days agoThat sounds like quite a challenge to maintain, to speak in euphemisms ;)
minus-square@[email protected]linkfedilink2•10 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.