Re: type hinting
| From: | Stefan Priebsch | Date: | Sun, 06 Jan 2008 21:46:20 +0000 |
| Subject: | Re: type hinting | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34553@lists.php.net to get a copy of this message | ||
Pierre schrieb:
I think there is a misunderstanding here: testing and raising exceptions is not error handling to me. This is checking conditions. Error handling is to catch the exception (or error) and take measures so that your program can continue to work. Regards, Stefan -- >e-novative> - We make IT work for you. e-novative GmbH - HR: Amtsgericht München HRB 139407 Sitz: Wolfratshausen - GF: Dipl. Inform. Stefan Priebsch http://www.e-novative.de - GnuPG Key: 0x7DB67F7FSorry, but I don't understand you. Why is there no need of error handling?I meant in user land, like adding tests and raising exception or an error.