Y
Hacker News
new
|
ask
|
show
|
jobs
by
erikj
4818 days ago
What's the most popular "proper" use of goto in the code? The implementations of finite state machines?
1 comments
jhawthorn
4818 days ago
I would guess error handing (freeing memory, closing fd's). A goto lets you avoid deeply nested if statements.
link