comp.lang.ada
 help / color / mirror / Atom feed
From: martin.dowie@btopenworld.com (Martin Dowie)
Subject: Re: "continue/next" for "loop"
Date: 6 Nov 2003 01:48:24 -0800
Date: 2003-11-06T01:48:24-08:00	[thread overview]
Message-ID: <af783afe.0311060148.19e29271@posting.google.com> (raw)
In-Reply-To: HnvK4B.6Mu@clerew.man.ac.uk

"Charles Lindsey" <chl@clerew.man.ac.uk> wrote in message news:<HnvK4B.6Mu@clerew.man.ac.uk>...

> 1. You can regard a well-structured program as a set of nested boxes. Or of
> nested levels of indentation as in Lutz's example above.
[snip]
> And yes, even Spaghetti programs can be made to look structured by
> inventing a sufficiently large number of boolean variables. That too has
> been known for the last 25 years, so do not bother repeating it. It DOES
> NOT make a program any clearer, as opposed to well-structured jumps as
> above. It just assuages the consciences of those who believe the myth that
> ALL GOTOs are harmful, which nobody (no, not even the late lamented
> Edsger) ever said they were.

From my very dusty memory, this sounds a lot like the principles used in
Jackson Structured Programming (JSP), esp, the bit about everything
being nested boxes... the controlled jumps sound a bit like the 'backtracking'
technique and the abhorance of 'programmer invented flags' would warm
the heart of my old JSP/COBOL lecturer no end :-)

Are these philosophies related?



  parent reply	other threads:[~2003-11-06  9:48 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-03 12:55 "continue/next" for "loop" amado.alves
2003-11-03 13:06 ` Lutz Donnerhacke
2003-11-03 13:07 ` Lutz Donnerhacke
2003-11-03 13:25   ` Peter Hermann
2003-11-03 16:49     ` Robert I. Eachus
2003-11-03 18:21       ` (see below)
2003-11-03 18:52       ` Jeffrey Carter
2003-11-03 20:11         ` Lutz Donnerhacke
2003-11-04  1:23         ` Robert I. Eachus
2003-11-03 13:33   ` James Rogers
2003-11-03 13:46     ` Lutz Donnerhacke
2003-11-03 13:39   ` Dmitry A. Kazakov
2003-11-03 13:54   ` Ole-Hjalmar Kristensen
2003-11-03 14:56     ` Lutz Donnerhacke
2003-11-03 15:08   ` Stefan Lucks
2003-11-03 15:40     ` Lutz Donnerhacke
2003-11-05 10:36   ` Charles Lindsey
2003-11-05 18:05     ` Lutz Donnerhacke
2003-11-06  9:48     ` Martin Dowie [this message]
2003-11-07 14:54       ` Charles Lindsey
2003-11-07 16:24         ` Martin Dowie
2003-11-07 17:34         ` Jeffrey Carter
2003-11-05 14:45   ` Jim Rogers
  -- strict thread matches above, loose matches on Subject: below --
2003-11-03 15:44 amado.alves
2003-11-03 22:12 ` Dmytry Lavrov
2003-11-03 22:27 ` Gautier Write-only
2003-11-03 13:54 amado.alves
2003-11-03 13:45 christoph.grein
2003-11-03 14:23 ` Preben Randhol
2003-11-03 15:01   ` Lutz Donnerhacke
2003-11-03 15:19     ` Dmitry A. Kazakov
2003-11-03 18:33       ` Chad R. Meiners
2003-11-03 15:48     ` Preben Randhol
2003-11-03 18:50     ` Georg Bauhaus
2003-11-03 15:00 ` Lutz Donnerhacke
2003-11-03 10:48 Lutz Donnerhacke
2003-11-03 10:51 ` Preben Randhol
2003-11-03 10:55   ` Preben Randhol
2003-11-03 11:01   ` Lutz Donnerhacke
2003-11-04  3:11 ` Steve
2003-11-05 15:54 ` sk
2003-11-06 15:40   ` Stephen Leake
2003-11-06 18:27     ` sk
2003-11-06 15:39 ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox