Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
slaymaker1907
on March 14, 2022
|
parent
|
context
|
favorite
| on:
Hacking sum types with Go generics
Why not just use the visitor pattern? Sum types are obviously better, but the Church encoding for sum types is clunkier than visitors in my opinion.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: