3 ms·
"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 usua
by effdee 13y 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.