ELI5: why is using "goto" considered to be a bad practice in programming? Submitted by Dacadey t3_z89cro on November 29, 2022 at 11:07 PM in explainlikeimfive 110 comments 155
BirdUp69 t1_iyce9ub wrote on November 30, 2022 at 10:27 AM My probably out of date understanding is that goto ignores stack management. Stack allocated in the current context would remain allocated wherever the goto ends up. Done repeatedly this will lead to a stack overflow. Permalink 1
Viewing a single comment thread. View all comments