News for hackers. Stuff that matters.
Re:When is it OK to use goto? by iamNumber4 on Monday December 24, 2018 @08:04PM (#18755220)
In languages that support goto, but do not have try catch syntax. The appropriate use of goto for failure states to properly handle deallocation of allocated memory. If condition not met goto: cleanup

There are no comments on this comment yet.