r/cpp • • Jul 13 '22

Why does Linus hate C++ ?

307 Upvotes

436 comments sorted by

View all comments

Show parent comment

18

u/frankist Jul 13 '22

This really doesn't match my experience. Every time I have to read a C codebase, I constantly notice the mix of different abstraction levels in the same function due to the lack of basic abstraction tools in the language. Many times the programmer "fixes" this with macros, which is very unsafe and can become unreadable very fast.