Hacker News new | ask | show | jobs
by jcelerier 1698 days ago
which would be fine because C++ is not an OOP language ?
2 comments

C++ is a pretty-much-everything language and that includes OOP.
What do you mean? The entire premise behind the design and creation of the C++ language was to add object oriented features to C.
Sorry mate, your argument doesn't make much sense. People can and do write OOP in C++, and just because it is multi-paradigm does not mean no one should write OOP.

It's like saying, because an artist is using watercolors for this painting, they should therefore never do pencil drawings on other projects.

> People can and do write OOP in C++,

if that's "textbook java oop" with runtime polymorphism then that should definitely be avoided and is pretty much considered an anti-pattern nowadays

I don’t disagree, but that’s an entirely different issue than your original argument, which was to suggest that C++ is not an object oriented language.