Join Slack
Powered by
perhaps the best alternative to visitor is to turn...
# announcements
p
pniederw
02/01/2017, 6:33 AM
perhaps the best alternative to visitor is to turn
Node
into a
sealed
class, then “pattern match” using
when (node) { is NodeImpl1 -> …; is NodeImpl2 -> … }
.
Open in Slack
Previous
Next