“By using polymorphism you can use virtual functions to get the same functionality and because a new case is a new class you don’t have to search your code for things that need to be checked it is all isolated for each class.”
So each CASE is a new CLASS that’s isolated from the others. So there’s be a class of objects for one condition, another class for another condition, another class for another condition…. ahhh.. that makes them global things instead of local if/then/else situations….
..and the polymorphism is an AND thing — did i just understand something from object oriented stuff?
so: a polymorphism is basically what I do in Excel when I glob together two or more fields into one regardless of their original types. Ok. I think I got it.