4 ms·
One advantage of having protocols in addition to multimethods is that you need to implement all methods in a protocol. This eases documentation, and is useful f
by carry_bit 12y ago
One advantage of having protocols in addition to multimethods is that you need to implement all methods in a protocol. This eases documentation, and is useful for methods that are fundamentally tied together.