On Jun 6, 2005, at 1:46 PM, Sebastian Bergmann wrote:

George Schlossnagle wrote:

Why do you need to use OO to use exceptions?


 Maybe "throw new Exception;" is already too much OO for somebody's
 mother because you create a new object of the Exception class here.

I'm pretty sure I can convince _my_ mother to use that without 'embracing OO'. At any rate, exceptions are distinct from OOP in many languages.

George

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to