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

It's a different kind of ugly, but you can use the Visitor pattern to get the same exhaustiveness checking at compile time without a library.


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

Search: