Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 21st, 2004, 10:58 AM   #11
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,473
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
gotos are EVIL, you all are going to HELL. (even though most of us are Atheist and don't believe in it anyway. hah)

you could have perfectly readable code, logical flow, etc... but when you throw gotos in it, the simple fact that you jump from point to point makes it unreadable.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Oct 21st, 2004, 11:09 AM   #12
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
Heh, what's this? the second time we are talking about GOTOs? I shutter everytime i hear the word.
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old Oct 21st, 2004, 11:32 AM   #13
mici
Programmer
 
Join Date: Oct 2004
Posts: 67
Rep Power: 5 mici is on a distinguished road
Actualy it just teaches you how to read between the lines...
__________________
coffee is my heroin.
mici is offline   Reply With Quote
Old Oct 21st, 2004, 2:37 PM   #14
bharris
Newbie
 
bharris's Avatar
 
Join Date: Oct 2004
Location: Tennessee
Posts: 10
Rep Power: 0 bharris is on a distinguished road
Send a message via MSN to bharris Send a message via Yahoo to bharris
I use to use gotos all the time back in the day when I was programming in QBasic, never used them in C++ though. Seems logical enough though if you know the flow of the code and comment it well there won't be a proble, with using goto.
bharris is offline   Reply With Quote
Old Oct 21st, 2004, 2:48 PM   #15
BebopFusion
Programmer
 
Join Date: Oct 2004
Posts: 52
Rep Power: 5 BebopFusion is on a distinguished road
Send a message via ICQ to BebopFusion
With comments in the goto it should serve ok. But it's still not a good habit for the orthodox.
__________________
Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration. -S. Kelley
BebopFusion is offline   Reply With Quote
Old Oct 21st, 2004, 3:27 PM   #16
bharris
Newbie
 
bharris's Avatar
 
Join Date: Oct 2004
Location: Tennessee
Posts: 10
Rep Power: 0 bharris is on a distinguished road
Send a message via MSN to bharris Send a message via Yahoo to bharris
I guess I can see where you are coming from: like I said I never used GOTO in C++ only in QB. Never came up and I never thought of using it in C++.
Quote:

With comments in the goto it should serve ok. But it's still not a good habit for the orthodox.
Maybe that's the reason I never use it.
bharris is offline   Reply With Quote
Old Oct 21st, 2004, 7:00 PM   #17
Das Bruce
Newbie
 
Join Date: Oct 2004
Posts: 10
Rep Power: 0 Das Bruce is on a distinguished road
The open source community will hunt you down and shoot you if you release code with "goto"'s in it.
Das Bruce is offline   Reply With Quote
Old Oct 22nd, 2004, 5:39 PM   #18
bharris
Newbie
 
bharris's Avatar
 
Join Date: Oct 2004
Location: Tennessee
Posts: 10
Rep Power: 0 bharris is on a distinguished road
Send a message via MSN to bharris Send a message via Yahoo to bharris
That's good to know. Glad I never use goto.
bharris is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:38 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC