The visitor pattern is essentially the same thing as Church encoding | Hacker News Reader