r/cpp • u/Both_Helicopter_1834 • Mar 18 '26
What open source projects in C++ have the highest code quality?
My understanding of the characteristics of quality code are the conventional ones.
- operations on an object that are allowed in a particular object state do not put the object into an invalid state.
- it's prioritized to organize the implementation of each object into the smallest possible number of sub-objects.
no cryptically abbreviated names are used, except possible in very small scopes.
With the program(s)/executable(s) themselves, as well as modules with corresponding namespaces, being considered singleton objects.
Fair dinkum if you want to name projects that score well under a different understanding of code quality.
192
Upvotes
View all comments
Show parent comment
-6
u/Serious-Regular Mar 18 '26
Um I have no idea what you're trying to say - c++20 isn't less portable than c++17 (that would make no sense - they're both standards....). Ironically enough the reason we (LLVM) haven't bumped std is because not all compilers have full standard support specifically clang.......
Edit: ah shit I didn't notice I was responding to pjmlp the king of cpp/compiler trolls π€¦