Comment by effdee
12 years ago
"But goto is considered harmful"
GOTO _was_ considered harmful back in 1968(!) when structured programming was still in its infancy. Code of that time was usually peppered with GOTOs and therefore a pain to read.
Using GOTO for cleanup tasks is perfectly fine because it increases readability.
No comments yet
Contribute on Hacker News ↗