Re: Exceptions and a real example: Tidy
| From: | Christian Schneider | Date: | Fri, 16 Apr 2004 18:15:18 +0000 |
| Subject: | Re: Exceptions and a real example: Tidy | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9268@lists.php.net to get a copy of this message | ||
John Coggeshall wrote:
Exceptions from use. I'm not prepared to do that, a failure to open a file is an exception in OO-world and that's what should be there.No! OO and exceptions are two completely different things. One is about data encapsulation and one is about error handling. OO can happily live without exceptions and exceptions can exist without OO! They are *not* an integral part. - Chris