News for hackers. Stuff that matters.
Re:Poll: Is the leetcode grind necessary to land a high payi... by DarylZero on Thursday January 27, 2022 @08:51AM (#30100530)
Explicit loops are only more readable in languages that suck.
Re:Poll: Is the leetcode grind necessary to land a high payi... by marcosdumay on Thursday January 27, 2022 @09:56AM (#30101287)
Well, the thread is about Javascript...

I take the exception that on this case in particular, the reduce is much more readable than a loop. Javascript isn't completely on the "anything non-imperative could as well be in machine code" league, but has plenty of problems that appear when you try to write other kinds of declarative code.