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

I thought Go had union types? Do those not work... normally?


Nope. I agree that it would be a good thing, and also cover about 80% of the usecases for "true" generics as well.




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: