Re: GOTO operator
| From: | Zeev Suraski | Date: | Mon, 02 Aug 2004 08:27:17 +0000 |
| Subject: | Re: GOTO operator | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-11810@lists.php.net to get a copy of this message | ||
At 11:22 02/08/2004, Derick Rethans wrote:
On Sun, 1 Aug 2004, Zeev Suraski wrote: At 15:45 31/07/2004, Derick Rethans wrote:Well, let's agree to disagree. I consider an OO application to be an application that actually takes advantage of object oriented design, and not an application that happens to use a feature that uses underlying objects. For example, a procedural PHP 5 application that makes use of SimpleXML is not object oriented, IMHO. ZeevExceptions are an OO thing, and it makes NO sense to use them in procedural code. Goto is a good thing here.Can you explain why it makes no sense to use them in procedural code? heh? If you're writing procedural code, you do not WANT to use OO features in there, as it makes your code no longer procedural. That's why it makes no sense.