Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zohch
on Oct 4, 2021
|
parent
|
context
|
favorite
| on:
Things Go needs more than generics
> Universal Nil: no. we need less nil not more. Nil-safe types would be a better answer.
Everyone needs optional values, due to Go's poor design the closest to this is to use nil.
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:
Everyone needs optional values, due to Go's poor design the closest to this is to use nil.