|
|
|
|
|
by sramsay
2297 days ago
|
|
I think you might be missing the main point of what this person is saying, which is: "I'd claim that the less they used C++ and the more used C++ compilers to write a C-like code" And I bet that's true. I doubt there's layers and layers of template metaprogramming in Ableton Live, or that Maya is a study in inheritance. Game engines, certainly, are C++ written as so-called "better C." "Yet here we are" -- a place where people reinvent C and call it "data-oriented programming." /s |
|
I doubt both of your assertions - public Ableton code uses templates fairly liberally ( https://github.com/Ableton/link/search?q=template&unscoped_q...) - and due to backtrace exposure I know that this is also the case for private implementation things.
For Maya just look at the plug-in API :
https://help.autodesk.com/view/MAYAUL/2017/ENU/?guid=__files...
https://help.autodesk.com/view/MAYAUL/2017/ENU/?guid=__files...
https://help.autodesk.com/view/MAYAUL/2017/ENU/?guid=__cpp_r...
command pattern, factories, etc... it's textbook OOP.
Also, most projects in the wild nowadays are C++11 or later, with actual use of C++11 language features. e.g. look for example OpenAGE, an AOE2 reimplementation - https://github.com/SFTtech/openage/blob/master/libopenage/jo...
That kind of thing is as far as "C with classes" as is possible.