Rasmus, C hasn't "break label;", and I don't understand why Java way confising C people. It is clear and fit into structured programming.
Thanks. Dmitry. > -----Original Message----- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 07, 2006 7:09 PM > To: Stanislav Malyshev > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] Re: GOTO and/or BREAK LABEL > > > Stanislav Malyshev wrote: > > RL>>As a C programmer this confuses me to no end. When I > see "label:" > > RL>>I expect > > > > The question is should all languages be like C? So, C has > it that way, > > and > > Java and Perl have it other way. We don't move to prefix > notation because > > Forth has it ;) > > No, obviously all languages shouldn't be like C and PHP has plenty of > stuff that looks nothing like C, but like it or not, a lot of PHP's > syntax came from C and I don't think we should be adding syntax that > looks like something from C but doesn't act like it. > > I still think this is a really fringe feature that isn't worth one of > the first forward compatibility breaks in the procedural > language in years. > > -Rasmus > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php