3 ms·
I'd say all programmers of any significant experience know the concept of polymorphism, but it's quite possible to know the concept without knowing the word. T
by barrkel 6y ago
I'd say all programmers of any significant experience know the concept of polymorphism, but it's quite possible to know the concept without knowing the word.
They might be using discriminated unions, or type-distinguishing enums on rows or structs with a superset of attributes, but the concept is hard to avoid when trying to generalize behaviour over heterogeneous data.
- pinopinopino 6y agoGood point, you see this so often in C code bases. Didn't even think about that.