2 ms·
That's why newer languages have try-finally. Basically Allocate resource try guard clause (early return) logic finally deallocate Basically, the try-fin
by gwbas1c 9y ago
That's why newer languages have try-finally.
Basically
Allocate resource
try
guard clause (early return)
logic
finally
deallocate
Basically, the try-finally clause guarantees that the finally clause is run when there is an early return.