News for hackers. Stuff that matters.
Re:The C++ standard for the F-35 Fighter Jet [video] by nottorp on Sunday December 07, 2025 @06:45PM (#46186606)
One could say toolkits done in C++ use multiple inheritance because C++ doesn't have interfaces though.
Re:The C++ standard for the F-35 Fighter Jet [video] by throwaway2037 on Friday December 12, 2025 @03:16AM (#46241975)
This is a good point. It would be better for me to say pure abstract base classes... that simulate interfaces in C++. That said, I can say from experience that Qt does more than multi-inheritance with pure abstract base classes. I think the QPainter class is mixed into a few places, and that class is fuckin' major -- it is responsible to paint every (cross platform) pixel in the whole framework.