3 ms·
My understanding is that when "GOTO consider harmful" came out, the typical code flow was to put values into global variables, goto to some piece of code then g
by skocznymroczny 3y ago
My understanding is that when "GOTO consider harmful" came out, the typical code flow was to put values into global variables, goto to some piece of code then goto back and continue. Nowadays we have functions with arguments and you should just use that. But harmful goto was about the specific type of coding that happened at the time, but people assume it's any goto use in general.
- Brian_K_White 3y agoAnd notably the famously provocative title did not come from him. You could say "he never even said that".