On Apr 15, 2004, at 9:49 AM, Jani Taskinen wrote:


On Thu, 15 Apr 2004, George Schlossnagle wrote:

On Apr 15, 2004, at 8:28 AM, Christian Schneider wrote:
No, I dislike them because they create more problems than they solve.

Then don't use them. You're a bit late to the party to debate their

But if some extension (e.g. sqlite) forces you to use them? (yes, I can always use the non-OO-API, but still..)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Yep. Or use it in the documented way. I don't see what the flap is about. It's not mysterious. It's doc'd that constructors throw exceptions to signal failures. Refusal to use something in the documented (and standard, as far as other OO-centric languages are concerned) way solicits little sympathy from me.

George

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



Reply via email to