These people would probably be shocked if they read the source code of the average GNU/Linux distro's software stack.
These people would probably be shocked if they read the source code of the average GNU/Linux distro's software stack.
I've since been ruined by better programming languages. That gotos for cleanup is the lesser evil in C speaks more to the weakness of C than the virtue of gotos for me. I'm sure stockholm syndrome would eventually assuage my pain and I'd stop hoping for raptors if I went back to C...
For what it's worth:
I'm not a systems programmer, so chalk up another one for that association.
I was a little shocked by GNU software - the 50 line GCC if statement, not the cleanup goto pattern. But only a little - I've seen Lugaru's GameTick.cpp before it was cleaned up.
Good uses of goto are very rare with current programming languages. The only cases where I have found good uses were with languages that did not have exception handling and in each cases, there was some deficiencies in the specifications and the code containing the goto has disappeared with the corrected specifications. Maybe this was luck.
I still think it is ridiculous to hate goto.