Re: voting on GOTO
- Posted by ken mortenson <kenneth_john at ya?oo?com> Jun 04, 2008
- 812 views
Jeremy Cowgar wrote: > This is true *only* if you think every instance of goto is evil. I do not > think > anyone would claim *every* use of goto is evil. The nature of good and evil and gotos places therein is beyond the scope of my expressed thoughts. I am merely saying that there is a cost. I think it's important for understanding the issue to recognize that cost. I'm not saying the cost is too great a price to pay (that's a judgement.) But if you don't recognize the cost it undermines any other argument you can make. > I maintain that you can write terrible code with while as well as goto. You > can write beautiful code with while as well as goto. We agree completely on this point.