4 ms·
Are there any popular open source projects that has adopted non object oriented programming style?
by throwaway5486nv 5y ago
Are there any popular open source projects that has adopted non object oriented programming style?
- Jtsummers 5y agoI'd just look at the C++ Standard Library which relies far more on the procedural, generic, and functional styles than OO. Using it, you often (IME) end up writing code more along the trait/interface style than the OO-hierarchy style that was popular in the 90s. But I have no idea about open source C++ projects, I don't follow them and mostly don't care. I've really only used C++ at work where 99% of the code seems to be procedural, not OO. The closest is that they have "classes" which are barely more than plain data objects ("smart" structs), if they have methods it's to enforce data invariants and almost nothing else.