School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 307,154 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,611 people online right now. Registration is fast and FREE... Join Now!




What so bad about goto statements

 

What so bad about goto statements, Why is there so much legalism about it?

Zerobu

20 Feb, 2009 - 09:30 PM
Post #1

Black Hatter
*****

Joined: 14 Jan, 2008
Posts: 1,822



Thanked: 11 times
Dream Kudos: 225
My Contributions
I say if goto's make your program work, then why not use it? Why is goto's considered bad in the eyes of programmer's?

User is offlineProfile CardPM
+Quote Post


Posts in this topic
Steffan   What so bad about goto statements   20 Feb, 2009 - 09:30 PM
Core   The GOTO statements mostly were used before the ac...   20 Feb, 2009 - 09:38 PM
BetaWar   My understanding of the goto is that it is just an...   20 Feb, 2009 - 10:01 PM
KYA   After a while even the original programmer could g...   21 Feb, 2009 - 07:59 PM
Tom9729   The idea that the goto statement somehow leads to ...   21 Feb, 2009 - 08:18 PM
Ipodhero178   My teacher taught me that you have to do so much w...   22 Feb, 2009 - 12:55 PM
NickDMax   The big problems with goto are readability and mai...   22 Feb, 2009 - 08:19 PM
BigAnt   Why use a high level language when everything ca...   23 Feb, 2009 - 07:37 AM
baavgai   I have yet to see a situation that requires a goto...   23 Feb, 2009 - 07:45 AM
Tom9729   Why use a high level language when everything can...   23 Feb, 2009 - 09:11 AM
PsychoCoder   Here's a decent write up on why a GOTO stateme...   23 Feb, 2009 - 09:22 AM
baavgai   [url=http://www.youngbloods.org/essays/argument_f...   11 Mar, 2009 - 08:47 AM
scalt   When I started programming I used to think I ...   3 Mar, 2009 - 01:12 PM
floatingpoint   My school teacher would cancel pages of a program ...   5 Mar, 2009 - 04:17 AM
Charlie IronGleet   When I started programming I used to think I ...   13 Mar, 2009 - 06:03 AM
Tom9729   And how the hell does one use it without line num...   13 Mar, 2009 - 07:44 AM
baavgai   I thought goto was eliminated from most contempor...   13 Mar, 2009 - 08:22 AM
Hyper   That why we have compilers in the first place. Wh...   13 Mar, 2009 - 05:52 PM
Hyper   It can be terrible if you use it alot, or use it i...   5 Mar, 2009 - 11:51 AM
mattsmee   Ever had a assembly language class??? Debugging as...   11 Mar, 2009 - 03:07 AM
LaFayette   http://david.tribble.com/text/goto.html#part-3 a ...   11 Mar, 2009 - 09:41 AM
fremgenc   To answer your question, GOTO's are absolutely...   12 Mar, 2009 - 04:38 PM
Hyper   goto's become unconditional jump statements in...   12 Mar, 2009 - 07:02 PM
KYA   Hmm...does continue; fall into the realm of GOTO a...   16 Mar, 2009 - 08:56 AM
baavgai   Hmm...does continue; fall into the realm of GOTO ...   16 Mar, 2009 - 09:45 AM
Hyper   Unconditional jump statements in C++: break, conti...   16 Mar, 2009 - 11:54 AM
SpeedisaVirus   I'm personally of the opinion that goto is rar...   17 Mar, 2009 - 12:30 PM
Loadmaster   I'm personally of the opinion that goto is ra...   2 Apr, 2009 - 01:00 PM
SpeedisaVirus   tru dat homie :)   4 Apr, 2009 - 08:05 PM
janotte   multiple exits (returns) from methods. Welcome...   7 Jun, 2009 - 05:57 AM
Jupiter 2   "I'm so old I was doing things before Man...   7 Jun, 2009 - 06:21 AM
Kanvus   The idea that the goto statement somehow leads to...   11 Jun, 2009 - 05:45 AM
Dantheman   The idea that the goto statement somehow leads to...   11 Jun, 2009 - 07:52 AM
xclite   I really haven't had a need for a GOTO stateme...   11 Jun, 2009 - 05:55 AM
Kanvus   Yes, it's true that it can be hard to read. Bu...   11 Jun, 2009 - 03:20 PM
Jupiter 2   I read the answer by Kanvus. Is he for or against ...   11 Jun, 2009 - 05:08 PM
Dantheman   Yes, it's true that it can be hard to read. B...   11 Jun, 2009 - 07:32 PM
Teumessian   They make the code much harder to read in large pr...   13 Jun, 2009 - 02:44 PM
paser   Every part of a language has a potential to be abu...   14 Jun, 2009 - 07:51 PM

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 05:16PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month