Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

why would you supoose that C++ is an object-oriented C ? the primary paradigm in C++ is generic programming, not OO.


Modern C++ kind of.

Gang of four book was written with Smalltalk and C++ examples.

Back in the 90's we had Mac OS PowerPlant, CSet++ on OS/2, OWL/VCL/MFC/ATL on Windows, Motif++ on UNIX, Telligent, and a myriad of ORM, distributed computing, image libraries and what not written in OOP C++.

Then came Java, took the best practices out from OOP C++, and two decades later 90's C++ is known as Java OOP and people act as if C++ OOP never happened.


Maybe now it is, but before STL etc. were thought of, C++ was intended by its creator to bring better support for OOP to C.

See http://www.stroustrup.com/bs_faq.html#why




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: