http://www.perlmonks.org?node_id=927728


in reply to Re^2: An exploration of higher-level-language approaches to the "First all-zero row in an NxN matrix" problem (goto Considered Harmful)
in thread An exploration of higher-level-language approaches to the "First all-zero row in an NxN matrix" problem (goto Considered Harmful)

So where do we have an example of common coding practices that involve multiple entry points?
I wouldn't call it "common", but Duff's Device is an example of multiple entry points.

In fact, any block of code with labels, and jumps to those labels (or in BASIC, line numbers) has blocks with multiple entry points.

  • Comment on Re^3: An exploration of higher-level-language approaches to the "First all-zero row in an NxN matrix" problem (goto Considered Harmful)
  • Watch for: Direct replies / Any replies