3 ms·
I wouldn't really call "return values" a "l33t feature". Exceptions are absolutely a "l33t feature". They break whatever is currently happening. They are an un
by donatj 10y ago
I wouldn't really call "return values" a "l33t feature".
Exceptions are absolutely a "l33t feature". They break whatever is currently happening. They are an uncontrolled return working its way up your structure.
While you're attempting to recover from that Exception I gracefully catch my error and can even use the multiple return values that came back successfully from my function, despite there being an error.