News for hackers. Stuff that matters.
Re:Block Comments Are a Bad Idea by johannes1234321 on Wednesday October 11, 2017 @08:11AM (#15449087)
In most languages there are better way to do this than goto. Among them - extracting code into smaller functions (yes, state has to passed around) - exceptions (yeah yeah, hate them or love them, but if used in your environment it makes sense not to avoid them) - RAII pattern or handling cleanup, which allows simple return and "automatic" resource handling - etc.

True, in a language like C these don't apply necessarily and goto still has some use -

There are no comments on this comment yet.