Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

So, writing functions to visit your data structures is not "the Visitor pattern"? That's exactly the point of my original post; Lisp thinks they invented everything and do everything in their own amazing way, when in reality, they solve the same problems the same way as everyone else.


The Java Implementation of the visitor pattern involves interfaces and classes plus double dispatch.

All that has been replaced with one mapping.

Which was Tim's point.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: