Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11646 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17021 invoked by uid 1010); 29 Jul 2004 23:22:59 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 11713 invoked from network); 29 Jul 2004 23:22:14 -0000 Received: from unknown (HELO iko.gotobg.net) (80.168.8.116) by pb1.pair.com with SMTP; 29 Jul 2004 23:22:14 -0000 Received: from pd9e61a6e.dip.t-dialin.net ([217.230.26.110] helo=[192.168.0.32]) by iko.gotobg.net with asmtp (Exim 4.34) id 1BqKE7-0000Xr-A7; Fri, 30 Jul 2004 02:22:19 +0300 Message-ID: <4109A0B7.5090402@hristov.com> Date: Fri, 30 Jul 2004 01:13:27 +0000 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a2) Gecko/20040627 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Frank M. Kromann" CC: internals@lists.php.net References: <10911425676360000@9866357972520000.9866341568840000> In-Reply-To: <10911425676360000@9866357972520000.9866341568840000> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - iko.gotobg.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - hristov.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] GOTO operator From: php@hristov.com (Andrey Hristov) Frank M. Kromann wrote: > [snip] > > >>The average Joe may not need goto in some case but he will find that it > > simplifies > >>his job (but making code clumsy, something what he does not realize). >>It is not because I don't like the power of goto, I would like not to be > > given in the > >>hands of the newbie. >> >>andrey >> > > PHP has many advanced features that would make a newbie (or any other > level of skills) produce bad code, but yet we have these functions and > features in the language. > > Most code can be written without GOTO, and I belive that it will, but some > cases simply gets more messy by not having the option of using GOTO's. > > Implementing the feature would allow programmers at any level to use it or > leave it. I like options! > > - Frank Ok, I surrender. Go for it :) I will pray and let God save me from ever maintaining spaghetti goto code :) andrey +0