Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
Avoid type switching: prefer polymorphism [1].
[1] Herb Sutter, Andrei Alexandrescu. C++ coding standards: 101 rules, guidelines,
and best practices. ISBN: 0-32-111358-6.
Item 90: 'Avoid type switching; prefer polymorphism'.
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.