3 ms·
Replacing static decisions with polymorphism is indeed often a good idea, but there's nothing wrong with using if when it's appropriate.
by lucian1900 14y ago
Replacing static decisions with polymorphism is indeed often a good idea, but there's nothing wrong with using if when it's appropriate.