oop - Is it bad to use a lot of polymorphism? -
i've heard using lot of polymorphism bad , it's better code design avoid polymorphism ever possible. true?
no, quite few design patterns implemented using polymorphism. factory pattern 1 of more common patterns use it.
it fundamental part of object oriented programming.
Comments
Post a Comment