![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Programming Guru
![]() ![]() ![]() |
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." |
|
|
|
|
|
#12 |
|
Programming Guru
![]() ![]() |
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! |
|
|
|
|
|
#13 |
|
Programmer
Join Date: Oct 2004
Posts: 67
Rep Power: 4
![]() |
Actualy it just teaches you how to read between the lines...
__________________
coffee is my heroin. |
|
|
|
|
|
#14 |
|
Newbie
|
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.
|
|
|
|
|
|
#15 |
|
Programmer
|
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 |
|
|
|
|
|
#16 | |
|
Newbie
|
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:
![]() |
|
|
|
|
|
|
#17 |
|
Newbie
Join Date: Oct 2004
Posts: 10
Rep Power: 0
![]() |
The open source community will hunt you down and shoot you if you release code with "goto"'s in it.
|
|
|
|
|
|
#18 |
|
Newbie
|
That's good to know. Glad I never use goto.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|