2 ms·
The goto's are for proper cleanup on error. All of the options for doing so in C are awful; I just think goto is the least bad option. Otherwise, you get if st
by gavinhoward 3y ago
The goto's are for proper cleanup on error.
All of the options for doing so in C are awful; I just think goto is the least bad option. Otherwise, you get if statements that keep nesting, deeper and deeper.
And what's the hacky-ish logic you're talking about?