How do you call it when your buddy designs a class Dinosaur, that represents at the same time prehistoric dinosaurs (animals), contemporary robotic dinosaurs (toys) and US laws regarding keeping such animals and/or robots, and you come and break it down into classes DinosaurProper, DinosaurRobot, ExoticPetKeepingInUS and RobotOwnershipInUS? What is the smartass catchphrase or catchword for this?
Share
Refactoring aimed at satisfying the Single Responsibility Principle (SRP).