Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • Go
for _, x := range items {
    doSomething(x)
}

You have to explicitly ignore the index loop variable, with the blank identifier _
for Item of Items loop
   Do_Something (Item);
end loop;

New implementation...