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


Groups > comp.lang.c > #78652

Re: Vertical histogram: new thread

From Keith Thompson <kst-u@mib.org>
Newsgroups comp.lang.c
Subject Re: Vertical histogram: new thread
Date 2015-12-14 08:53 -0800
Organization None to speak of
Message-ID <ln7fkhdl95.fsf@kst-u.example.com> (permalink)
References (8 earlier) <9fe46ab0-2eb3-4479-a779-d5ada9a63f4a@googlegroups.com> <87io411axv.fsf@bsb.me.uk> <e78197ea-e665-4045-8159-14579c1948d7@googlegroups.com> <87vb81yt4m.fsf@bsb.me.uk> <f4704631-a04d-4631-83f7-26470464b304@googlegroups.com>

Show all headers | View raw


Malcolm McLean <malcolm.mclean5@btinternet.com> writes:
[...]
> The sole difference is the explicit test for EOF in Richard's code.
>
> So Richard's is robust to isspace() being defined slightly differently to
> return true for EOF. For some purposes, EOF is of course "white space",
> and it's a sensible thing to do, though belt and braces.

The behavior of isspace() is unambiguously defined, and is not going
to change.  There's no advantage in being robust to changes in how
it works.

On the other hand, there could be some advantage in not requiring
the reader to know that isspace(EOF) is false.

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
Working, but not speaking, for JetHead Development, Inc.
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"

Back to comp.lang.c | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-12 11:29 -0800
  Re: Vertical histogram: new thread James Kuyper <jameskuyper@verizon.net> - 2015-12-12 14:58 -0500
    Re: Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-13 05:11 -0800
    Re: Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-13 05:11 -0800
      Re: Vertical histogram: new thread Barry Schwarz <schwarzb@dqel.com> - 2015-12-13 05:51 -0800
        Re: Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-13 06:15 -0800
        Re: Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-13 08:34 -0800
          Re: Vertical histogram: new thread James Kuyper <jameskuyper@verizon.net> - 2015-12-13 12:15 -0500
            Re: Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-13 09:56 -0800
              Re: Vertical histogram: new thread James Kuyper <jameskuyper@verizon.net> - 2015-12-13 13:14 -0500
                Re: Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-13 10:24 -0800
        Re: Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-13 09:55 -0800
      Re: Vertical histogram: new thread James Kuyper <jameskuyper@verizon.net> - 2015-12-13 10:22 -0500
  Re: Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-13 05:03 -0800
    Re: Vertical histogram: new thread Barry Schwarz <schwarzb@dqel.com> - 2015-12-13 06:25 -0800
      Re: Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-13 09:31 -0800
      Re: Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-13 09:37 -0800
        Re: Vertical histogram: new thread BartC <bc@freeuk.com> - 2015-12-13 18:03 +0000
        Re: Vertical histogram: new thread Barry Schwarz <schwarzb@dqel.com> - 2015-12-13 13:01 -0800
          Re: Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-14 01:35 -0800
            Re: Vertical histogram: new thread Richard Heathfield <rjh@cpax.org.uk> - 2015-12-14 09:40 +0000
              Re: Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-14 01:50 -0800
        Re: Vertical histogram: new thread Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-13 21:11 +0000
          Re: Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-14 01:08 -0800
            Re: Vertical histogram: new thread Richard Heathfield <rjh@cpax.org.uk> - 2015-12-14 09:35 +0000
              Re: Vertical histogram: new thread Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-14 10:19 +0000
                Re: Vertical histogram: new thread Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-12-14 03:39 -0800
                Re: Vertical histogram: new thread Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-14 12:17 +0000
                Re: Vertical histogram: new thread Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-12-14 05:44 -0800
                Re: Vertical histogram: new thread Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-14 14:58 +0000
                Re: Vertical histogram: new thread Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-12-14 07:45 -0800
                Re: Vertical histogram: new thread Keith Thompson <kst-u@mib.org> - 2015-12-14 08:53 -0800
                Re: Vertical histogram: new thread Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-14 17:34 +0000
                Re: Vertical histogram: new thread raltbos@xs4all.nl (Richard Bos) - 2015-12-15 01:26 +0000
                Re: Vertical histogram: new thread Richard Heathfield <rjh@cpax.org.uk> - 2015-12-15 08:14 +0000
                Re: Vertical histogram: new thread Richard Heathfield <rjh@cpax.org.uk> - 2015-12-14 13:12 +0000
                Re: Vertical histogram: new thread BartC <bc@freeuk.com> - 2015-12-14 13:37 +0000
                Re: Vertical histogram: new thread Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-14 15:01 +0000
                Re: Vertical histogram: new thread Richard Heathfield <rjh@cpax.org.uk> - 2015-12-14 15:13 +0000
                Re: Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-14 07:18 -0800
                Re: Vertical histogram: new thread Jerry Stuckle <jstucklex@attglobal.net> - 2015-12-14 10:17 -0500
                Re: Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-14 07:22 -0800
                Re: Vertical histogram: new thread Richard Heathfield <rjh@cpax.org.uk> - 2015-12-14 15:46 +0000
                Re: Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-14 07:56 -0800
                Re: Vertical histogram: new thread Jerry Stuckle <jstucklex@attglobal.net> - 2015-12-14 12:08 -0500
                Re: Vertical histogram: new thread Jerry Stuckle <jstucklex@attglobal.net> - 2015-12-14 12:09 -0500
              Re: Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-14 02:26 -0800
              Re: Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-14 06:06 -0800
                Re: Vertical histogram: new thread Richard Heathfield <rjh@cpax.org.uk> - 2015-12-14 14:15 +0000
                Re: Vertical histogram: new thread Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-12-14 07:00 -0800
                Re: Vertical histogram: new thread Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-14 15:40 +0000
                Re: Vertical histogram: new thread BartC <bc@freeuk.com> - 2015-12-14 17:38 +0000
                Re: Vertical histogram: new thread Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-14 19:12 +0000
                Re: Vertical histogram: new thread BartC <bc@freeuk.com> - 2015-12-14 19:59 +0000
                Re: Vertical histogram: new thread Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-14 20:46 +0000
                Re: Vertical histogram: new thread BartC <bc@freeuk.com> - 2015-12-14 21:23 +0000
                Re: Vertical histogram: new thread Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-14 21:40 +0000
                Re: Vertical histogram: new thread Ian Collins <ian-news@hotmail.com> - 2015-12-15 10:43 +1300
                Re: Vertical histogram: new thread BartC <bc@freeuk.com> - 2015-12-14 22:03 +0000
                Re: Vertical histogram: new thread Ian Collins <ian-news@hotmail.com> - 2015-12-15 11:27 +1300
                Re: Vertical histogram: new thread Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-14 23:38 +0000
                Re: Vertical histogram: new thread BartC <bc@freeuk.com> - 2015-12-15 01:02 +0000
                Re: Vertical histogram: new thread Ian Collins <ian-news@hotmail.com> - 2015-12-15 14:09 +1300
                Re: Vertical histogram: new thread BartC <bc@freeuk.com> - 2015-12-15 01:29 +0000
                Re: Vertical histogram: new thread Ian Collins <ian-news@hotmail.com> - 2015-12-15 14:36 +1300
                Re: Vertical histogram: new thread Richard Heathfield <rjh@cpax.org.uk> - 2015-12-15 08:20 +0000
                Re: Vertical histogram: new thread Jerry Stuckle <jstucklex@attglobal.net> - 2015-12-14 20:32 -0500
                Re: Vertical histogram: new thread Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-15 01:38 +0000
                Re: Vertical histogram: new thread Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-12-15 03:07 -0800
                Re: Vertical histogram: new thread Richard Heathfield <rjh@cpax.org.uk> - 2015-12-15 11:53 +0000
                Re: Vertical histogram: new thread Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-12-15 04:29 -0800
                Re: Vertical histogram: new thread Richard Heathfield <rjh@cpax.org.uk> - 2015-12-15 12:51 +0000
                Re: Vertical histogram: new thread Keith Thompson <kst-u@mib.org> - 2015-12-15 08:18 -0800
                Re: Vertical histogram: new thread Richard Heathfield <rjh@cpax.org.uk> - 2015-12-15 16:28 +0000
                Re: Vertical histogram: new thread Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-12-15 11:44 -0800
                Re: Vertical histogram: new thread Jerry Stuckle <jstucklex@attglobal.net> - 2015-12-14 20:30 -0500
                Re: Vertical histogram: new thread Ian Collins <ian-news@hotmail.com> - 2015-12-15 14:39 +1300
                Re: Vertical histogram: new thread Jerry Stuckle <jstucklex@attglobal.net> - 2015-12-14 20:44 -0500
                Re: Vertical histogram: new thread Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-12-14 12:52 -0800
                Re: Vertical histogram: new thread Richard Heathfield <rjh@cpax.org.uk> - 2015-12-14 21:04 +0000
                Re: Vertical histogram: new thread Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-12-14 13:13 -0800
                Re: Vertical histogram: new thread Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-14 21:43 +0000
                Re: Vertical histogram: new thread Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-12-14 14:30 -0800
                Re: Vertical histogram: new thread Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-14 23:22 +0000
                Re: Vertical histogram: new thread Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-12-14 15:42 -0800
                Re: Vertical histogram: new thread Richard Heathfield <rjh@cpax.org.uk> - 2015-12-14 23:52 +0000
                Re: Vertical histogram: new thread Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-12-14 16:16 -0800
                Re: Vertical histogram: new thread Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-15 00:32 +0000
                Re: Vertical histogram: new thread Keith Thompson <kst-u@mib.org> - 2015-12-14 14:19 -0800
          Re: Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-14 01:42 -0800
            Re: Vertical histogram: new thread Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-12-14 02:05 -0800
              Re: Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-14 02:11 -0800
            Re: Vertical histogram: new thread Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-14 10:45 +0000
              Re: Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-14 07:16 -0800
                Re: Vertical histogram: new thread Richard Heathfield <rjh@cpax.org.uk> - 2015-12-14 15:37 +0000
                Re: Vertical histogram: new thread Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-12-14 07:49 -0800
                Re: Vertical histogram: new thread Richard Heathfield <rjh@cpax.org.uk> - 2015-12-14 16:05 +0000
                Re: Vertical histogram: new thread Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-14 15:59 +0000
                Re: Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-14 08:29 -0800
                Re: Vertical histogram: new thread Barry Schwarz <schwarzb@dqel.com> - 2015-12-14 10:25 -0800
                Re: Vertical histogram: new thread Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-14 18:42 +0000
            Re: Vertical histogram: new thread Richard Heathfield <rjh@cpax.org.uk> - 2015-12-14 12:28 +0000
            Re: Vertical histogram: new thread Keith Thompson <kst-u@mib.org> - 2015-12-14 09:06 -0800
  Re: Vertical histogram: new thread Alla _ <modelling.data@gmail.com> - 2015-12-14 02:15 -0800
    Re: Vertical histogram: new thread Udyant Wig <udyantw@gmail.com> - 2015-12-14 16:58 +0530
      Re: Vertical histogram: new thread Richard Heathfield <rjh@cpax.org.uk> - 2015-12-14 12:36 +0000
    Re: Vertical histogram: new thread Barry Schwarz <schwarzb@dqel.com> - 2015-12-14 03:58 -0800
    Re: Vertical histogram: new thread Richard Heathfield <rjh@cpax.org.uk> - 2015-12-14 12:34 +0000
    Re: Vertical histogram: new thread Anonymous Shadow <rocketpenguin@dont-email.me> - 2015-12-14 15:32 +0000

csiph-web