Your algorithm can assume anything but the compile...
# announcements
p
Your algorithm can assume anything but the compiler has no way of knowing whether the key really is in the map or not.
[..]
does the same as java's
Map.get
which returns null if the key is not found. There is no way to use
+=
in a concise way here.