3 ms·
Presumably GP meant that the mapping from old ShipID to new ShipID must be injective. Bijective would also work, but if the mapping were merely surjective there
by jessaustin 8y ago
Presumably GP meant that the mapping from old ShipID to new ShipID must be injective. Bijective would also work, but if the mapping were merely surjective there could be multiple entities in the old code mapped to a single entity in the new code. That seems sure to cause problems.
- stcredzero 8y agoActually, a surjection might result in a refactoring in the pedantic sense. Also, some refactorings work out to be surjections.