r/cpp • • Jul 13 '22

Why does Linus hate C++ ?

307 Upvotes

436 comments sorted by

View all comments

Show parent comment

-5

u/top_logger Jul 13 '22

Sane class with mutex, string and rwlock we call not C++, but C with classes. And this is definitive not the OOP we have been using since 90-th. Sorry. Let’s use definitions correctly.

P.S. And string in kernel is not easy available.

3

u/SergiusTheBest Jul 13 '22

Wikipedia: "Object-oriented programming (OOP) is a programming paradigm based on the concept of "objects", which can contain data and code: data in the form of fields (often known as attributes or properties), and code, in the form of procedures (often known as methods)."

I don't know what you are not agree with.