Y
Hacker News
new
|
ask
|
show
|
jobs
by
platz
4466 days ago
I think even the visitor pattern isn't required here, all you need is subclassing. Although this clutters things up more by having abstract methods in the base class, technically that's all you need.
1 comments
SamReidHughes
4466 days ago
Sure.
link