4 ms·
which would be fine because C++ is not an OOP language ?
by jcelerier 5y ago
which would be fine because C++ is not an OOP language ?
- broodbucket 5y agoC++ is a pretty-much-everything language and that includes OOP.
- jb1991 5y agoWhat do you mean? The entire premise behind the design and creation of the C++ language was to add object oriented features to C.
- jcelerier 5y agohttps://arne-mertz.de/2015/07/c-is-not-an-object-oriented-language/ https://arne-mertz.de/2015/07/c-is-not-an-object-oriented-la...
- jb1991 5y agoSorry 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.
- jcelerier 5y ago> 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
- jb1991 5y agoI 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.