Comment

Comment by david2ndaccount

The answer is they don't in practical code but they come up in generic code, where you want to wrap something that is already returning an optional in your optional. In languages that do support optional[optional[whatever]], if you every actually write that you know you've messed up your API.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton