|
|
|
|
|
by progmal1
3873 days ago
|
|
On the other hand having a filter construct is way nicer than having to manage the two arrays on your own. Or worse yet, when someone is trying to remove items from a list that is self resizing, it is very easy to make bugs (by not adjusting the counter in the for loop when one is removed). |
|