Non object-oriented style

Pages: 12
> He said that java-styled programming is as detrimental as C style within C++

He didn't say precisely that.
Writing Java-style code in C++ can be as frustrating and sub-optimal as writing C-style code in C++.

Which, I think, means that that there are contexts where either Java-style or C-style code, or both are suboptimal.

> does anyone know of any examples?

I think the standard C++ library provides a profusion of examples where both the Java-style of programming and the C-style of would have been singularly inappropriate.


Inadvertently, I had posted a link to a different topic on the same page.
This topic is what I had intended to link to: http://www.stroustrup.com/bs_faq.html#oop
Topic archived. No new replies allowed.
Pages: 12