Revolutionary technologies of the '80 make me appreciate modern programming languages and especially tooling much more.
- 0 Posts
- 8 Comments
In 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.
I was working on a C code base with classes, inheritance, and polymorphism, all done by hands and macros.
Something like
typedef struct s_some_class { void (*method)(this *s_some_class); } t_some_class;Overall, learning C was the best enabler in my whole career. For instance I was learning Python by tinkering with CPython VM, so when I see these ‘WAT’ quircks I know exactly what’s up.
xiii@lemmy.worldto
Ask Lemmy@lemmy.world•What’s an unspoken rule that absolutely everyone should know, but most people clearly don’t?
19·6 months agoElevator, all public transport, buildings. There’s more space outside. Stop cramping.
xiii@lemmy.worldto
Games@lemmy.world•$80 for Borderlands 4 too costly? Randy Pitchford says, "If you're a real fan, you'll find a way to make it happen"English
21·7 months agoWhile working on Borderlands 3, the team was severely underpaid. People started quitting, so Randy promised them an “unprecedented company profit-sharing bonus model.” That never got paid—he blamed “higher-than-anticipated development costs and sales not meeting projections.” Borderlands 3 went GOTY, a few dozens millions copies sold. Randy secured a $12M executive bonus for himself. When staff expressed dissatisfaction, Pitchford told them they were free to quit. This was in the middle of the pandemic, and the job market was absolute crap.
This is my new busyness e-mail signature.
Comfortably runs on electronic thermometer or pregnancy test.
Linux 🤝 DOOM



If you’d replace the word ‘flattened’ with the specific term ‘unwrapped’ it’s starting to make even more sense.