On Wed, 2003-12-10 at 07:10, Bogdan Stancescu wrote:
>
> May 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 t
Robert Cummings wrote:
On Tue, 2003-12-09 at 08:14, Bogdan Stancescu wrote:
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.
On Tue, 2003-12-09 at 17:45, Justin Patrin wrote:
>
> While goto may be useful and even elegant for experienced programmers
> (although I see no reason to use it myself with well structured
> programs...there's always break), its inclusion in a language causes
> some programmers (newbies and tho
Robert Cummings wrote:
On Tue, 2003-12-09 at 08:14, Bogdan Stancescu wrote:
Robert, I know your grief, been there, I know how it feels. I started my
childhood with BASIC, which was /the/ "GOTO" programming language,
learned Turbo Pascal when I was a teenager, and continued to use GOTO's
(Pasca
On Tue, 2003-12-09 at 08:14, Bogdan Stancescu wrote:
>
> Robert, I know your grief, been there, I know how it feels. I started my
> childhood with BASIC, which was /the/ "GOTO" programming language,
> learned Turbo Pascal when I was a teenager, and continued to use GOTO's
> (Pascal discourages
Justin Patrin wrote:
Nitin wrote:
Hi all,
I was wondering, if there's any way to achieve 'goto "label":' using PHP
Thanx for ur time
Nitin
goto is a very old and broken way of coding. If you ever find yourself
in need of a goto, you should re-evaluate how you're doing things. If
you're hav
Justin Patrin wrote:
Robert Cummings wrote:
Goto is a very broken way of coding. Goto is a
very useful and structured way of coding especially when creating fast
FSMs for parsing. I was a little disappointed a few months ago when I
found that PHP didn't support the goto label syntax since it wo
if you are porting an old programme, try using "SWITCH", some time back i
successfully ported a lengthy code in to PHP which had many "GOTO"s .
Viraj
note: also, i had to use some parameter passing mechanism.
Justin Patrin wrote:
Nitin wrote:
Hi all,
I was wondering, if there's any way to a
On Tue, 2003-12-09 at 00:51, Justin Patrin wrote:
> Robert Cummings wrote:
> >
> > Goto is a very broken way of coding. Goto is a
> > very useful and structured way of coding especially when creating fast
> > FSMs for parsing. I was a little disappointed a few months ago when I
> > found that PH
Robert Cummings wrote:
On Tue, 2003-12-09 at 00:32, Justin Patrin wrote:
Nitin wrote:
Hi all,
I was wondering, if there's any way to achieve 'goto "label":' using PHP
Thanx for ur time
Nitin
goto is a very old and broken way of coding. If you ever find yourself
in need of a goto, you should
On Tue, 2003-12-09 at 00:32, Justin Patrin wrote:
> Nitin wrote:
>
> > Hi all,
> >
> > I was wondering, if there's any way to achieve 'goto "label":' using PHP
> >
> > Thanx for ur time
> >
> > Nitin
>
> goto is a very old and broken way of coding. If you ever find yourself
> in need of a got
Nitin wrote:
Hi all,
I was wondering, if there's any way to achieve 'goto "label":' using PHP
Thanx for ur time
Nitin
goto is a very old and broken way of coding. If you ever find yourself
in need of a goto, you should re-evaluate how you're doing things. If
you're having trouble finding out
maybe switch() would be of some use? Your could save the values for $type
in an array and look them up to get a numbe to use with switch(). You can
also have a "case else" with switch.
"Stephen Brewster" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am wi
Well, IMO, the only languages that really need goto's are low-level
ones like assembly and C.
goto's are more trouble than they're worth when you get into
structured or OO programming.
--
Scott Hurring
Systems Programmer
EAC Corporation
scott (*) eac.com
--
"Carlos U. Cirello Filho" <[EMAIL PROT
OK,
Anyway goto's are bad and wrong things... And one shouldn't use it. I am
wrong in trying to solve such problem using it. But I was really amazed that
PHP did not have goto
Kind Regards,
Carlos Cirello
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
000e01c21183$ab49e590$8102a8c
[snip]
Subject: Re: [PHP] GOTO command. Doest it exist?
[/snip]
No, and you don't need it. The reason? Ask yourself, "what is the use of a
GOTO?". Usually GOTO indicates a function of some sort, which you could
easily replicate with a function() or switch() if you need to send your
application in
Non sequitur.
C is a structured languaged and has goto. Why shouldn't PHP have goto?
Sometimes is pointless bundle together HTML and PHP and keep it in a if
statement or a function, like this
if(TRUE){
?> SHOW THIS SHOW THAT SHOW THIS SHOW THAT Yes... and it seems that there ain't any GO
17 matches
Mail list logo