|
![](/i/fill.gif) |
The problem is essentially that computer science has evolved over the
past several decades, to the point that if you're not familiar with
where we were 30 years ago you won't understand why we are where we are
today.
To use an example, you won't understand why you should round with
0.50505 without first understanding why you should round with 0.5.
The "for" loop is one of those constructs that is so common that people
take it for granted that it's understood. In its original form, it was
understood to perform a particular action on each item in a list.
Ie, "for each member of this list, perform this action."
Of course, it was made incredibly flexible, so you can iterate however
you like (and even abuse it horribly), while we actually have a
"foreach" statement now that more closely matches that particular usage.
--
...Chambers
www.pacificwebguy.com
Post a reply to this message
|
![](/i/fill.gif) |