3 ms·
I usually prefer: foreach(x in list.reject(unusual_condition(_))) x2=perform_data_transformation(x); x3=perform_data_transformation(x2); I find coll
by DanielRibeiro 15y ago
I usually prefer:
foreach(x in list.reject(unusual_condition(_)))
x2=perform_data_transformation(x);
x3=perform_data_transformation(x2);
I find collections and their functional methods are great for clear expression of intent[1]
[1] http://metaphysicaldeveloper.wordpress.com/2009/05/02/closures-collections-and-some-functional-programming/ http://metaphysicaldeveloper.wordpress.com/2009/05/02/closur...