3 ms·
Why is "Performing atomic operations on the elements of a collection within a for or foreach loop" a symptom of mediocre programmer "inability to think in sets"
by njharman 15y ago
Why is "Performing atomic operations on the elements of a collection within a for or foreach loop" a symptom of mediocre programmer "inability to think in sets"?
How should one do that if your "thinking is sets"?
- deleted 15y ago[deleted]
- amalcon 15y agoThat particular symptom is built under the assumption that your language supports map/filter/reduce or some equivalent functionality. These are generally preferred when available because there are fewer places to make mistakes.
- deleted 15y ago[deleted]