79532227

Date: 2025-03-24 21:51:50
Score: 1.5
Natty:
Report link

Not arguing performance, nowadays you can wrap a dict.TryAdd(foo, bar) followed by dict[foo] = bear in your AddOrUpdate extension.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: hector-j-rivas