|
|
|
|
|
by TuringTest
285 days ago
|
|
I'm thinking, didn't inheritance and abstract methods work to solve the problem? I know inheritance has its own severe problems, but adding a generic abstract method at the base class could create reusable code that can be accessed by any new class that inherits from it. P.S. ah ok, it's mentioned in the article at the Visitor section. |
|