News for hackers. Stuff that matters.
Re:Goto Is Not a Horror by randomdata on Wednesday March 20, 2024 @10:35PM (#39774392)
As mentioned in the "Go To Statement Considered Harmful" paper, goto is good as long as it is bridled. The goto horror stems from unbridled gotos.

Pretty much every language created in the past 50-some-odd years, encompassing effectively every language you will actually use, enforce bridled gotos, so for all practical purposes there is no bad use of goto.

There are no comments on this comment yet.