top | item 46930374

(no title)

joshribakoff | 23 days ago

Last time I used a visitor, it was probably last week when I created a lint rule. Visiting every node in a tree (ast or otherwise) with lambda is doing the pattern regardless of what you call the pattern. Tools like eslint still literally use the visitor pattern. I would point to software engineers dismissing tried and true ideas as the better generalization.

discuss

order

killerstorm|22 days ago

That means you don't understand visitor pattern: it's specifically an OOP pattern using OOP dispatch.

A tree traversal is a tree traversal.