View Single Post
Old Mar 13th, 2007, 7:25 PM   #4
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Goto statements, while not inherently evil, generally are a sign of a coder who has not mastered the simplicities of loops and branching constructs. While their equivalent (branches/jumps) are an integral part of assembly-language programming, you will find that they are often automatically provided by higher-level languages in the form of block delimiters (end statements, opening and closing parentheses, etc.).

The first line of attack is to realize that you're needlessly complicating matters and causing untold tons of grief to those who follow and maintain. None of that matters, of course, if you have no intention of being a pro or of disseminating your code, or of asking for help.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote