Hacker News new | ask | show | jobs
by anonymoushn 1487 days ago
It seems like sql types that include null and non-null values are a union of at least two different types. In general, if you write code to handle a tagged union that has "panic!" in one of the prongs, you'll get panics. Don't do that?