Re: Re: goto label
| From: | Bogdan Stancescu | Date: | Wed, 10 Dec 2003 12:10:59 +0000 |
| Subject: | Re: Re: goto label | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172332@lists.php.net to get a copy of this message | ||
Robert Cummings wrote:
On Tue, 2003-12-09 at 08:14, Bogdan Stancescu wrote:My message was in reply to the one in which you said you were disappointed PHP doesn't feature goto. *That* is what I was replying to. And the understatement in my reply was that PHP does good by not allowing goto statements because that way it coerces even unexperienced programmers into sane code. And there are quite a few unexperienced programmers using PHP out there, trust you me. Your reply's quite transparent understatement is calling me and everybody who doesn't agree with you sheep people. That's a tad curious, if not offensive.Sorry if my message sounded melodramatic or something, I remembered the frustration feeling so strongly from your message that I wanted to reinforce the other people's messages with a personal "testimonial" if you wish.Ummmm, I rarely use the goto statement, and I do not advocate it for regular everyday coding. I do know the difference between well structured code and otherwise. What I did say, is that goto <label> has it's uses, and sometimes it IS the best solution. Just because someone tells you something is bad, doesn't mean to say it is always bad. It's like someone saying salt is bad for you, and so you never take salt again and die from salt deficiency. People really need to change their mindset about being sheeple (yes sheep people) and blindly following preached dogma.
I don't mind your message sounding melodramatic, but it doesn't explain in any way why goto shouldn't be used. It just asserts that you foundMay I point you to the last few lines in my message you're replying to, quoted at the top of this message for your convenience. I will highlight the key words in there for you here, so it's easier to follow: "I wanted to reinforce the other people's messages with a personal "testimonial"". Cheers, Bogdan