M
Martin
Hi,
I would like to ask peoples opinion of the "goto" statement in C#.
I have always been taught NOT to use this statement in OO code (first OO
language I learned was C++ about 8 years ago) as it creates "saghettii
code"
I would have throught that using a function to "jump" to other code is far
better than a "goto" statement.
is this the general opinion of people or have a missed a good use of the
goto statement.
any comments appreciated.
cheers
martin.
I would like to ask peoples opinion of the "goto" statement in C#.
I have always been taught NOT to use this statement in OO code (first OO
language I learned was C++ about 8 years ago) as it creates "saghettii
code"
I would have throught that using a function to "jump" to other code is far
better than a "goto" statement.
is this the general opinion of people or have a missed a good use of the
goto statement.
any comments appreciated.
cheers
martin.