Range based loops - friend or foe ?

if you want you can use auto (to obscure type too).

for (auto pin : myPins)
{
  //  some code
}