3 ms·
To provide a shorter answer: polymorphism dispatches on types at compile time. Pattern matching dispatches on values at runtime.
by zzalpha 11y ago
To provide a shorter answer: polymorphism dispatches on types at compile time. Pattern matching dispatches on values at runtime.