Re: Mail_IMAP 2.0.0 alpha 1
| From: | Jan Lehnardt | Date: | Thu, 08 Jul 2004 10:03:43 +0000 |
| Subject: | Re: Mail_IMAP 2.0.0 alpha 1 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-31743@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
On 6 Jul 2004, at 18:17, Hans_L wrote:
This is crazy talk. :) Of course Exceptions are not fatal errors! Have you ever used them!? Yes, uncaught exceptions will raise a fatal error, but it is your job as application writer to catch them. This is simply an elemental part of programming in PHP5.big objection here. I choose drastic words now to clarify my point, take them with a grain of salt. PHP 5 is a OO-spiced-up PHP 4 and exceptions come with this as a nice syntactic sugar. Just because of that, it is definitely _not_ (!) "an elemental part of programming in PHP 5". It is an option and it is an option that you chose, because it was feasible for you and still is and will probably (likely) be in the future. But that doesn't make it a general rule, it is still an option. Let people choose. I do think I will carry my PHP 4 coding style to PHP 5 and thus what I contribute to PEAR. If and when I encounter a problem that is easily solvable with a new PHP 5 feature and I am not bound to PHP 4, I will use it, because I am not a traditionalist, but just because I have PHP 5 at my hands, I don't go and make use of every new bit of it and there's hell of a lot more interesting stuff than exceptions to discover :) Nothing personal here, not at all. Regards, Jan - -- GPG Key: BB96 56B0 Q: Thank Jan? - A: http://geschenke.an.dasmoped.net/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) iD8DBQFA7RwA7KW8t7uWVrARAkcuAJ9nEGR5c9sa0+LmW+sPa2RExg03TQCfSUm+ KTk4UY3Au82nsxpO84k+8iA= =bAg5 -----END PGP SIGNATURE-----