goto a no-go?

Gary Willoughby dev at nomad.so
Tue Oct 1 06:05:08 PDT 2013


On Tuesday, 1 October 2013 at 11:22:12 UTC, Chris wrote:
> Sometimes goto is simply the best and most efficient solution 
> within a code block (to avoid code duplication, unnecessary 
> checks or redirecting to yet another function blah blah).

News to me! I haven't used goto in 15 years of development as 
there are always more elegant ways of designing software.

The only reason i can see goto being properly used is in machine 
generated code where no developer will be maintaining it.


More information about the Digitalmars-d mailing list