News for hackers. Stuff that matters.
Re:C++ Is an Absolute Blast by d0mine on Tuesday December 24, 2024 @04:54PM (#42505217)
What is the desired behavior? I see at least 3 options: panic (abort at runtime predictably), compiler error (force handling both Some&Nothing cases [needs language support otherwise annoying], exceptions (annoying to handle properly). There is too much undefined behavior already.

Perhaps, 3 types could exist for 3 options.

There are no comments on this comment yet.