Y
Hacker News
new
|
ask
|
show
|
jobs
by
cousin_it
3449 days ago
Interfaces are a better tool for that case IMO. One small utility interface (save/load) and two implementations would be easier to test in isolation and wouldn't suffer from the fragile base class problem.