News for hackers. Stuff that matters.
Re:What's wrong with this code, really? by WildUtah on Friday September 16, 2011 @01:03PM (#3005277)
Use the goes-to-zero operator.

  for (i = container.size; i-->0;)
    if(deletep(container, i))
      container.remove(i);
Re:What's wrong with this code, really? by romac on Friday September 16, 2011 @02:27PM (#3005646)
Reminds me of something :)