A friend of mine recently asked me to help debug some code. I looked through it and it was riddled all over with goto statements. I know why he uses them (he used to program mainly in assembly and batch) and I tried to explain why he should try to refrain from using goto statements. The problem was that he thinks that I just have a personal vendetta against goto statements, and does not believe that they are harmful. Can anybody give me some concrete, indisputable reasons why the goto statement is evil?
Labdabeta 182 Posting Pro in Training Featured Poster
thines01 401 Postaholic Team Colleague Featured Poster
ravenous commented: This is a great link! +8
mike_2000_17 2,669 21st Century Viking Team Colleague Featured Poster
zeroliken commented: well said +9
Labdabeta commented: Nice Answer! +4
MrEARTHSHAcKER commented: Another great explanation +2
Labdabeta 182 Posting Pro in Training Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.