3 ms·
Sounds like your colleagues are cargo-culting rather than arguing from experience or knowledge. My standard solution for this is to name the loop counter for t
by jacquesm 4y ago
Sounds like your colleagues are cargo-culting rather than arguing from experience or knowledge.
My standard solution for this is to name the loop counter for the things being counted. So your example would be:
for (horse=0;horse<n_horses;horse++) {
}
or
for (horse in horses) {
}
or equivalent depending on whatever language you use.