Comment

Comment by whatsakandr

Like most things in C++, I wish the default was `nothrow`, and you added throw for a function that throws. There's so many functions that don't throw, but aren't marked `nothrow`.

In my experience I've used exceptions for things that really should never fail, and optional for things that are more likely to.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton