|
|
|
|
|
by pianoben
2662 days ago
|
|
Agreed. The _only_ times I've ever been justified in implementing this pattern have been when doing compiler work. Someone else up-thread mentioned what I think is the key requirement making visitors worthwhile is non-trivial tree traversal. ASTs seem to fit this description more than any other data structure I've had to work with day-to-day. Outside of language trees, I wonder where else visitors are common? |
|