Re:Code Smells: Iteration
by jnty on Wednesday August 23, 2017 @11:28AM
(#15082257)
I guess - but I feel like you'd call it an "error" rather than a "smell". Better to just teach people data structures rather than which constructs they should be afraid of. Approaching it "sideways" like this just leads to people going "I heard that loops can be bad, so I copied and pasted that line 25 times instead".
[ Parent
| on HN ]