Re:What Makes Code Hard to Read: Visual Patterns of Complexi...
by aquariusDue on Thursday March 13, 2025 @05:33AM
(#43351625)
I lack a good answer other than it didn't occur to me, now I have some code to refactor. Thanks!
[ Parent
| on HN ]
Re:What Makes Code Hard to Read: Visual Patterns of Complexi...
by maleldil on Thursday March 13, 2025 @11:37AM
(#43354393)
FWIW, I've had to write similar code when there's some complex "folding" operation. I use map/filter a lot, but fold/reduce/accumulate always seemed harder to understand than a for loop. I also prefer nested loops rather than nested iterators.