Jeffrey Palermo (.com)

Sponsors

The Lounge

Wicked Cool Jobs

News

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
The goto statement revisited - level 200

I received quite a bit of comment on my previous post, so I did some more research on the matter.  My conclusion is that the usage of goto has no impact on the functionality of the program itself, but the usage of goto can open the doors of temptation to be a lazy coder and have a final product that may function perfectly well but is difficult to maintain.  I have decided to replace my usage of goto with a switch statement. 

I can also imagine that the more broader use of goto can make debugging confusing because of an unpredictable stack trace in thrown exceptions.

On another note, my friend, Noah Coad, will be starting work at Microsoft in about a week.  He'll be working on the VS.NET team helping to shape the IDE of the future!  He's a great WinForms programmer and a C# MVP.


Posted Wed, Jun 30 2004 9:51 AM by Jeffrey Palermo

[Advertisement]

Comments

Noah Coad (C# MVP) wrote re: The goto statement revisited - level 200
on Mon, Jul 5 2004 7:01 PM
Thanks for the shot out Jeff! This is my last blog comment as an MVP. In a few hours I'll be MS and no longer an MVP. Keep up the great ASP.NET work! Be sure to look me up when you get in the area (won't be long!).
Devlicio.us