4 ms·
the problem with overloading add is that add results in more than merge. merge is add minus the duplicate keys. students shouldn't learn wrong semantics. {1:,2
by rurban 8y ago
the problem with overloading add is that add results in more than merge. merge is add minus the duplicate keys. students shouldn't learn wrong semantics.
{1:,2:} + {1:,3:} = {1:,2:,3:}