Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • Obj-c
for (id x in items) _doSomething(x);

in case items contains objects of known type, it can/should be used, like for(NSString *str in items) ...
for Item of Items loop
   Do_Something (Item);
end loop;

New implementation...