On Sun, 1 Aug 2004, Zeev Suraski wrote:
> At 15:45 31/07/2004, Derick Rethans wrote: > >Exceptions are an OO thing, and it makes NO sense to use them in > >procedural code. Goto is a good thing here. > > Can you explain why it makes no sense to use them in procedural code?
heh? If you're writing procedural code, you do not WANT to use OO features in there, as it makes your code no longer procedural. That's why it makes no sense.
Well, let's agree to disagree. I consider an OO application to be an application that actually takes advantage of object oriented design, and not an application that happens to use a feature that uses underlying objects. For example, a procedural PHP 5 application that makes use of SimpleXML is not object oriented, IMHO.
Zeev
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php