On Apr 12, 2004, at 11:42 AM, Sterling Hughes wrote:

I like OO (*), and I think warnings (non-fatal errors) as exceptions are a stupid idea. Does that count? ;-)


Exceptions in languages like Java are used explicitly to catch fatal errors, not to catch basic errors.

If 'languages like Java' means languages designed for OO, then this is not true. Python throws exceptions for almost everything (KeyError, for example). Even Java throws exceptions (java.sql.Exception) for things like failed database connections which are warnings in PHP.


George

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



Reply via email to