3 ms·
>implementing passes over the AST using visitors, Why Visitor Pattern is so popular around ASTs? I always feel like this particular patterns adds too much boi
by tester756 6y ago
>implementing passes over the AST using visitors,
Why Visitor Pattern is so popular around ASTs?
I always feel like this particular patterns adds too much boilerplate and is not really needed in "modern" languages.
- the-smug-one 6y agoBecause the visitor pattern is just pattern matching in OO clothing.