i just switched from a java based visitor to a kot...
# language-proposals
g
i just switched from a java based visitor to a kotlin based one because it meant I could have a
when
statement that enumerated all of the node types, and would force a compiler error when a new node type was added. Combine that with a couple other kotlin techniques to reduce boiler plate, and its now enormously difficult to break the new implementation i have in kotlin.