Y
Hacker News
new
|
ask
|
show
|
jobs
by
mipmap04
1505 days ago
I do this, too, but I also take a count of the expected number of items to be deleted as well. If my collection I'm iterating over doesn't have exactly that number of objects I expect, I don't proceed.