3 ms·
They aren't adding 'goto' statements. But they are allowing you to jump to labels with break statements, which is similar.
by Maascamp 18y ago
They aren't adding 'goto' statements. But they are allowing you to jump to labels with break statements, which is similar.
- Jasber 18y agoWhile slightly different, this creates the same exact problem as goto statements. Reading/writing code should be linear. Introducing goto statements allows you to "jump around" inside your code--which is bad form and confusing.
- SwellJoe 18y agoIf goto is good enough for Linus, it's good enough for me. http://kerneltrap.org/node/553/2131 http://kerneltrap.org/node/553/2131 Then again, I don't imagine there are many Linus-caliber developers working in PHP. This could get ugly.