4 ms·
> And Dijkstra considered goto harmful. He wasn't right either. He was right. The kind of goto he specifically and clearly elucidates in his paper has utterly
by munificent 13y ago
> And Dijkstra considered goto harmful. He wasn't right either.
He was right. The kind of goto he specifically and clearly elucidates in his paper has utterly vanished from modern programming.
He's not talking about Torvalds using a little `goto` to jump to the error-handling at the end of a function. He's talking about unstructured programming: gotos that jump across procedure boundaries, or where "procedure boundary" isn't even a meaningful concept.