Hacker News new | ask | show | jobs
by HelloNurse 22 hours ago
It is usually possible to design a representation where cows and pigs are the same thing, either Animal class instances or equally unified other data structures, and their differences are data (e.g. weight, length, one of several colour patterns).