cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Why are Go-to statements not allowed? Do
Why are Go-to statements not allowed? Does a go-to statement function similarly to a break or continue?
Sep 22, 2015 at 8:22pm UTC
keanedawg
(181)
I keep reading about how bad it is to use Go-To but I also see lots of programs that use break. Not so many that use go-to. Regardless, everyone only seems to criticize go-to.
Is there something special about Go-To that makes it particularly bad?
Sep 22, 2015 at 8:27pm UTC
Yanson
(885)
goto statements creates Spaghetti code. Which is just code that is hard to read and debug.
Topic archived. No new replies allowed.