Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cmollis
on Feb 6, 2014
|
parent
|
context
|
favorite
| on:
Simple Dynamic Strings library for C
agreed. Goto's are not bad at all, particularly when dealing with error scenarios. They avoid hack-y if-then error logic (sort of like try/catch/finally)
dllthomas
on Feb 6, 2014
[–]
Gotos are bad when used for unconstrained flow control. Restricted use of gotos to implement exception handling is, as you say, not bad.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: