Re:Avoid Else, Return Early (2013)
by Too on Monday March 26, 2018 @12:17PM
(#16679990)
Single exit point is not compatible with exceptions which most GC languages use extensively. Resource management in such environments is done with finally/using/with.
Even C has auto cleanup with __cleanup__ attribute in both gcc and clang.
Even C has auto cleanup with __cleanup__ attribute in both gcc and clang.