Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #100488 > unrolled thread

Re: while loop vs do while loop reading from the file issue

Started byMalcolm McLean <malcolm.mclean5@btinternet.com>
First post2016-12-29 13:25 -0800
Last post2017-01-15 11:58 -0800
Articles 1 on this page of 21 — 9 participants

Back to article view | Back to comp.lang.c

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: while loop vs do while loop reading from the file issue Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-12-29 13:25 -0800
    Re: while loop vs do while loop reading from the file issue Ian Collins <ian-news@hotmail.com> - 2016-12-30 10:48 +1300
      Re: while loop vs do while loop reading from the file issue Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-12-29 16:46 -0800
        Re: while loop vs do while loop reading from the file issue Ian Collins <ian-news@hotmail.com> - 2016-12-30 13:51 +1300
          Re: while loop vs do while loop reading from the file issue Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-12-29 17:22 -0800
            Re: while loop vs do while loop reading from the file issue Tim Rentsch <txr@alumni.caltech.edu> - 2017-01-13 02:45 -0800
        Re: while loop vs do while loop reading from the file issue BartC <bc@freeuk.com> - 2016-12-30 01:01 +0000
          Re: while loop vs do while loop reading from the file issue Ian Collins <ian-news@hotmail.com> - 2016-12-30 14:04 +1300
          Re: while loop vs do while loop reading from the file issue Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-12-29 17:23 -0800
    Re: while loop vs do while loop reading from the file issue asetofsymbols@gmail.com - 2016-12-30 00:56 -0800
    Re: while loop vs do while loop reading from the file issue Tim Rentsch <txr@alumni.caltech.edu> - 2017-01-13 02:41 -0800
      Re: while loop vs do while loop reading from the file issue Malcolm McLean <malcolm.mclean5@btinternet.com> - 2017-01-13 09:59 -0800
        Re: while loop vs do while loop reading from the file issue Gareth Owen <gwowen@gmail.com> - 2017-01-13 18:48 +0000
          Re: while loop vs do while loop reading from the file issue Tim Rentsch <txr@alumni.caltech.edu> - 2017-01-15 12:08 -0800
            Re: while loop vs do while loop reading from the file issue Gareth Owen <gwowen@gmail.com> - 2017-01-15 23:09 +0000
              Re: while loop vs do while loop reading from the file issue Richard Heathfield <rjh@cpax.org.uk> - 2017-01-15 23:18 +0000
                Re: while loop vs do while loop reading from the file issue Gareth Owen <gwowen@gmail.com> - 2017-01-15 23:37 +0000
                Re: while loop vs do while loop reading from the file issue raltbos@xs4all.nl (Richard Bos) - 2017-01-18 11:32 +0000
                  Re: while loop vs do while loop reading from the file issue Gareth Owen <gwowen@gmail.com> - 2017-01-18 21:25 +0000
        Re: while loop vs do while loop reading from the file issue Keith Thompson <kst-u@mib.org> - 2017-01-13 11:54 -0800
        Re: while loop vs do while loop reading from the file issue Tim Rentsch <txr@alumni.caltech.edu> - 2017-01-15 11:58 -0800

Page 2 of 2 — ← Prev page 1 [2]


#101872

FromTim Rentsch <txr@alumni.caltech.edu>
Date2017-01-15 11:58 -0800
Message-ID<kfnr344ksd5.fsf@x-alumni2.alumni.caltech.edu>
In reply to#101630
Malcolm McLean <malcolm.mclean5@btinternet.com> writes:

> On Friday, January 13, 2017 at 10:41:29 AM UTC, Tim Rentsch wrote:
>> Malcolm McLean <malcolm.mclean5@btinternet.com> writes:
>> [...]
>> I hope this isn't going to lead to another one of those idiotic
>> conversations where you insist on a point of terminology and
>> how "most people" use it, only to have pushback from most or
>> all of the people who respond.  In case you've forgotten here
>> is a list to help refresh your memory:
>>
>>     Malcolm-style
>>     Malcolm-functions
>>     Malcolm-logic
>>     Malcolm-structured-programming
>>     Malcolm-structure
>>     Malcolm-class-tree
>>     Malcolm-call-tree
>>     Malcolm-speak
>>     Malcolm-procedures
>>     Malcolm-blocks
>>     Malcolm-tree
>>     Malcolm-constant-character-pointer
>>
>> So to be clear, my comments are about "structured programming",
>> and (explicitly) given in the context of Dijkstra's monograph
>> "Notes on Structured Programming", it having been brought up in
>> the thread before any posting of mine.  And in that context, a
>> "loop-and-a-half" fits in with other structuring forms like
>> while, if-then-else, etc.  Yes, it isn't among the set of forms
>> that Dijkstra gives in his monograph.  But it does satisfy the
>> various properties he lists, /like I already said/, and since the
>> properties are more what NoSP focuses on, it's reasonable to
>> identify a "loop-and-a-half" as structured /in the sense that the
>> monograph talks about such things/ -- which is what I did.
>>
>> I understand you have your own ideas about what certains terms
>> mean, or ought to mean, or how "most people" use them, but I'm
>> not saying anything about any of those.  What I am saying is
>> about how "Notes on Structured Programming" talks about such
>> things, and my previous comments are made from this perspective
>> (again - like I already said!).
>>
>> IMO you would be well advised to pay more attention to what other
>> people are saying, rather than insisting on imparting your own
>> world view - no matter how strongly or subconsciously you might
>> believe it - on what are basically unimportant questions of
>> terminology.
>
> Loop and a half is your invention.  [...]

It is??!?  WOW!  I wonder if I am due some back royalties or
something for that.

> But loop and a half is your invention.  It's your contribution to
> our understanding of what structured programming should be.

The idea of loop-and-a-half is not my invention, nor is it my
attempt to contribute to what structured programming should be.
Rather it was given an example that I hoped would explain and
elucidate the essence of what structured programming already is,
as detailed in Dijkstra's monograph.  Regrettably that hope
appears not to have been fulfilled.

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.lang.c


csiph-web