I am trying to teach my husband Nick some programming. He has tried before but he always loses interest before we get more than a couple sessions. He finally found a problem he was interested in solving. He wants a program that will tell him the most efficient way to organize his vast dvd collection. Keeping series together in a binder and leaving blank spaces for DVDs yet to be acquired. Then no more shuffling will be needed later when he gets the other DVDs.

He was confuse with some of the terms I was using …

Loop
Ok so we start simple, just reading a hard coded file name and looping through and printing the csv row from the file. He was like “loop?” thinking that we were going to start at the beginning, go to end, then back to the first which didn’t make any sense! He was like why are we looping?? Oh, hmm. I guess we aren’t really looping. We are more like walking through the file and printing each row of data

Why do we use the word loop?? it not really a loop? What is a better word?

Dictionary.com says (among many defintions) :

1. a circular area at the end of a trolley line, railroad line, etc., where cars turn around.

2. an arm of a cloverleaf where traffic may turn off or onto a main road or highway.

3. Computers. the reiteration of a set of instructions in a routine or program.

Iterate

I also use the word iterate interchangable with loop. “We need to iterate though this list and find X value” Nick was saying that iterate is when you review something. What do you think?

Dictionary.com says:

1. to utter again or repeatedly.
2. to do (something) over again or repeatedly.
–verb (used without object)
3. to operate or be applied repeatedly, as a linguistic rule or mathematical formula.

Do we as programmers abuse the english language and come up with our own dialect?