If your goal is to filter out elements based on some criteria, I'd say the idiomatic way tondi that would be to use filter/filterIt or keepIf/keepItIf procs from std/sequtils.
- Delete items in a seq while iterating over it? elcritch
- Delete items in a seq while iterating over it? moigagoo
