On 18 Feb 2004 at 21:02, Michael Walter wrote: > This is rather wrong - one of C++' main strengths is that it allows > multiple paradigms of programming (procedural, object-oriented, generic, > generative, functional, ...) which can also be mixed etc. Instead of > ideologically focusing on only one paradigm (as Java seems/ed to try > to), it provides a multitude of possibilities to tackle a problem and > design a solution.
C++ is very flexible, yes. But everytime I came in touch with C++ the convention was to "think object-oriented" and use OOP as much as possible: MFC programming, for example. Some books I read showed up examples of "bad style" C++ programming (essentially procedural, C-like code) and "the correct way" (object-oriented). I'm sure you are much more experienced than me so maybe I'm wrong here. Don't you see a difference in the role and power of OOP in PHP and other languages like C++ or Java?! But let's get back to the thread's topic: I only said that re-assigning $this is a bad. In fact it does not even matter what language I consider to be OO... -- Ferdinand Beyer <[EMAIL PROTECTED]> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php