Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Yajirobe
on Jan 19, 2023
|
parent
|
context
|
favorite
| on:
Sudoedit can edit arbitrary files
goto statement in something as important as sudo? Seriously? Talk about bad practices.
arc-in-space
on Jan 19, 2023
|
next
[–]
goto to a cleanup/error handling block at the end of a function is a fairly common C idiom
Reubensson
on Jan 19, 2023
|
prev
|
next
[–]
Don't really see a problem using goto there. Simplyfies control flow and error handling. Assuming we are talking about same piece of code.
aflag
on Jan 20, 2023
|
prev
|
next
[–]
I think if you read the kennel's code you're in to a big surprise.
jazzyjackson
on Jan 20, 2023
|
prev
[–]
just because something's old doesn't mean it's bad
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: