Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sounds a bit like a strawman then, does anybody actually maligns "goto" as an error handling construct in C? It's pretty standard in my experience. It's goto "like in BASIC" that's utterly evil and rightfully maligned. And having learned C coming from BASIC I speak from experience...


Yes actually. Our teacher in university described it as "Something really bad".


In the context of C or C++? I've read similar warnings in C++ tutorials in the past and I tend to agree with them, in C it's just silly however.


In the context of a C systems programming class.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: