3 ms·
There's nothing special about having different return types. Every language I can recall with throwable errors supports them, they just don't waste developer's
by nprateem 4y ago
There's nothing special about having different return types. Every language I can recall with throwable errors supports them, they just don't waste developer's time by manually bubbling them up the call stack.
- hknmtt 4y agoyou can always panic/recover to get the throw/catch behavior