Hacker News new | ask | show | jobs
by cyrusaf 2750 days ago
Sum types would add much needed compiler safety to returned errors and optional values. We often see nil pointer dereferences during runtime due to the usage of pointers as optional types.