Hacker News new | ask | show | jobs
by BatFastard 3701 days ago
Adding a "meow" function is the wrong way to go about it. The base class just needs a protected sound function so that each derived class can set the sound in its initialization routine. So many programmers, so few who truly understand OOP.