79804199

Date: 2025-10-29 20:41:47
Score: 2.5
Natty:
Report link

If you don't want to map(), you could replace the accumulator with

(map, foo) -> {
    map.put(foo.id(), foo);
    map.put(foo.symbol(), foo);
}

But at this point it's hard to see how streaming is an improvement over a simple loop. What do you have against map() anyway?

Reasons:
  • RegEx Blacklisted phrase (2.5): do you have a
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: shmosel