Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › What is the down side to GOTO? (C++)
New Posts  All Forums:Forum Nav:

What is the down side to GOTO? (C++)

post #1 of 6
Thread Starter 
Every time I search this command on google I find people hating it... It seems like a damned good command to me can someone please tell me what the downside is ? Like things that have an actual effect on the program itself (slower etc)?
6625WD
(13 items)
 
  
CPUMotherboardGraphicsRAM
T7500 2.2GHz Core 2 Duo Intel 965 (Santa Rosa) 8600M GT 512MB GDDR3 2GB DDR2 800MHz Kingston 
Hard Drive
120GB SATA Hitachi 
  hide details  
Reply
6625WD
(13 items)
 
  
CPUMotherboardGraphicsRAM
T7500 2.2GHz Core 2 Duo Intel 965 (Santa Rosa) 8600M GT 512MB GDDR3 2GB DDR2 800MHz Kingston 
Hard Drive
120GB SATA Hitachi 
  hide details  
Reply
post #2 of 6
Noodle programming. As in, crazy jumping all over the place until you lose track when you look at the code again a month later. It is actually pretty good if you use it right, it's used in the Linux kernel alot.
post #3 of 6
Thread Starter 
Hmm ok, I guess it could get a little crazy in that way but it makes things so much easier x.x

I think I am going to use it still but I will make sure to use whiles etc when possible/when I don't have to sit there thinking up some crazy complex way of making something work without GOTO xD
6625WD
(13 items)
 
  
CPUMotherboardGraphicsRAM
T7500 2.2GHz Core 2 Duo Intel 965 (Santa Rosa) 8600M GT 512MB GDDR3 2GB DDR2 800MHz Kingston 
Hard Drive
120GB SATA Hitachi 
  hide details  
Reply
6625WD
(13 items)
 
  
CPUMotherboardGraphicsRAM
T7500 2.2GHz Core 2 Duo Intel 965 (Santa Rosa) 8600M GT 512MB GDDR3 2GB DDR2 800MHz Kingston 
Hard Drive
120GB SATA Hitachi 
  hide details  
Reply
post #4 of 6
It's an unnatural break that doesn't represent good, logical programming
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
post #5 of 6
Thread Starter 
"rabidgnome229 It's an unnatural break that doesn't represent good, logical programming"

Yeah I have heard that but does do you mean it is disruptive to the program or anything like that or really it just looks dodgy?
6625WD
(13 items)
 
  
CPUMotherboardGraphicsRAM
T7500 2.2GHz Core 2 Duo Intel 965 (Santa Rosa) 8600M GT 512MB GDDR3 2GB DDR2 800MHz Kingston 
Hard Drive
120GB SATA Hitachi 
  hide details  
Reply
6625WD
(13 items)
 
  
CPUMotherboardGraphicsRAM
T7500 2.2GHz Core 2 Duo Intel 965 (Santa Rosa) 8600M GT 512MB GDDR3 2GB DDR2 800MHz Kingston 
Hard Drive
120GB SATA Hitachi 
  hide details  
Reply
post #6 of 6
If you use it too much it's disruptive. Another reason not to use it is because so many people don't like it.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › What is the down side to GOTO? (C++)