3 ms·
Article misses the obvious solution name the interface for its contract. e.g. SortedMap can have the exact same methods as Map but has an additional bahavoural
by karmakaze 8y ago
Article misses the obvious solution name the interface for its contract. e.g. SortedMap can have the exact same methods as Map but has an additional bahavoural contract. TreeMap may be a concrete implementation but using the interface is preferable.