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

Regarding the “iota dance,” I wrote my 2 cents on what could be a slightly more robust approach a couple of days ago: https://preslav.me/2023/03/17/create-robust-enums-in-golang/

P.S generic type sets make it even better. I’ll write an update to my post these days.



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

Search: