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

Sum Types in Go - http://www.jerf.org/iri/post/2917

It's less convenient than writing a compiler in Haskell, but then, what isn't? It does give you reasonable type safety, though. (Again, don't say that where a Haskell programmer is listening, but it's at least decent.)



Thanks. That was really interesting.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: