Re: New keyword added: continue

new topic     » goto parent     » topic index » view thread      » older message » newer message

Derek Parnell wrote:
> 
> Jeremy Cowgar wrote:
>  I suppose a more detailed study could be done via the TIBOE
> > language index, but here are my findings:
> > 
> > python = continue
> > c = continue
> > vb = continue
> > d = continue
> > basic = continue
> > pascal = continue
> > php = continue
> > perl = next
> > javascript = continue
> > tcl = continue
> 
> But aren't we supposed to be learning from the mistakes of the past?
> 
> -- 
> Derek Parnell
> Melbourne, Australia
> Skype name: derek.j.parnell


Next def: Immediately following in time, ORDER, importance, etc.
Cont def: To go on after suspension or interruption.
Cont def: To go on with or persist in.

I think you can make a case for either word, but because next implies
an iteration I would prefer it.  The truth is, I don't have a dog in
this hunt, because it doesn't really provide new capability.

loop
  if true next
  code skipped here. 
end loop

or

loop
  if false
    code skipped here.
  end if
end loop

The results are the same.  I also prefer type 4 letters to 8.
NEXT is preferable to CONT for you wiseguys that say both can be 4. blink

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu