logoalt Hacker News

ozyschmozy • today at 6:55 AM • 0 replies • view on HN

I see, thanks. Though this feels like something that would always have a better alternative than returning Some(None). Probably a new enum, or in Python's case, exceptions (e.g. instead of returning a value if the document is missing, you'd raise DocumentMissingError or something)