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

If mostly everyone uses Option instead of `nil`, the problem approaches a vanishing point. Not perfect, but still a massive improvement. Of course, generics won't be added until Go 2 anyway, at which point the community is free to make a breaking change, though I doubt they'll ditch `nil`.


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

Search: