Re: Good Use of GOTO
- Posted by c.k.lester <euphoric at cklest?r.c?m> Jun 06, 2008
- 834 views
Jeremy Cowgar wrote: > c.k.lester wrote: > > Anyway, I prefer the one without the GOTOs as it's easier to parse. > Hm, is that not subjective? Absolutely. Never said it was an objective measurement. But more people have preferred the one without GOTOs. Now, I'm not one to appeal to numbers or authority, but there you have it. :) > I am use to my conditions being tested at the top and exiting early. Yeah, we do that with short-circuiting and if...then fall-through. No GOTOs necessary... and just as fast! and just as easy to parse! > Is that not a lack of your experience in using goto? Sure.