|
![](/i/fill.gif) |
In article <38C992EA.4C6238BD@ij.net>, Matt Giwer <jul### [at] ij net>
wrote:
> So what is the difference other than a different syntax? The 123
> ways to create a loop? They all do the same thing in the end.
> Even step = 3 with I=I+3.
>
> Introducing additional syntaxes raises more problems than it
> solves. With one elementary syntax that can do everything there
> isn't nearly as much to read and a hundred fewer places for
> parser differences to creep in.
The only difference is syntax. But that is a meaningful difference.
Although a for loop could also be implemented as a while loop, it can
sometimes be easier to write and understand if written as a for loop.
And what do you mean by "a hundred fewer places for parser differences
to creep in"? I don't think the modifications would be very extensive,
and there is only one parser.
> Next, complex conditional if then else statements. Can GOTO be
> far behind?
Umm, we have if-then-else statements. And switch statements. And goto is
a bad idea for many reasons.
--
Chris Huff
e-mail: chr### [at] yahoo com
Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
![](/i/fill.gif) |