Rosetta Code:Village Pump/Suggest a programming task: Difference between revisions

(→‎Unsorted: Anti.)
Line 286:
 
* Remove some elements from a mutable collection while iterating through it, based on some condition of the element. Related to [[Filter]], but modifying the existing collection rather than creating a new one. This is a challenging task, because removing the element you are currently iterating over, may affect the iteration itself (changes indexes / affects iterators). --[[Special:Contributions/208.80.119.67|208.80.119.67]] 19:32, 5 April 2011 (UTC)
:This is an Anti-pattern. Why code it? --[[User:Paddy3118|Paddy3118]] 19:57, 5 April 2011 (UTC)
 
==Insufficient information==
Anonymous user