Re: Re: GOTO and/or BREAK LABEL

From: Date: Tue, 07 Mar 2006 16:09:02 +0000
Subject: Re: Re: GOTO and/or BREAK LABEL
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Stanislav Malyshev wrote:
RL>>As a C programmer this confuses me to no end. When I see "label:" 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

Thread (106 messages)

« previous php.internals (#22207) next »