Code Smell 23 - Instance Type Checking
Do you check who are you talking to? TL;DR: Trust your collaborators. Don't check who they are. Ask them to do instead. Problems Coupling Metamodel interference IFs Solutions Avoid kind, isKindOf, instance, getClass(), typeOf, etc.. Don't us...
Nov 13, 20202 min read685


