3 ms·Sometimes a big switch statement may be better than polymorphism5 points by MikeTaylor 17y agoeru 17y agoI wonder whether multiple-dispatch would solve that problem?