Why should GoTos be bad?

Posted by lisn on Stack Overflow See other posts from Stack Overflow or by lisn
Published on 2010-04-09T13:39:56Z Indexed on 2010/04/09 13:43 UTC
Read the original article Hit count: 289

I'm using gotos and a lot of them. C++, PHP or COBOL - I use them on nearly all occasions where everybody else would use functions or even classes.

Yet my code is

  • Clear
  • Maintainable
  • Bug-free
  • Fast

So why does everybody I meet tell me about how bad gotos are? Are there any facts that show that they are "bad"?

© Stack Overflow or respective owner

Related posts about c++

Related posts about goto