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


Groups > comp.lang.c > #150954

Re: Pre- and post- conditions (was Re: Coding style for small if statements)

From Tim Rentsch <tr.17687@z991.linuxsc.com>
Newsgroups comp.lang.c
Subject Re: Pre- and post- conditions (was Re: Coding style for small if statements)
Date 2020-04-02 07:57 -0700
Organization A noiseless patient Spider
Message-ID <861rp66il3.fsf@linuxsc.com> (permalink)
References (11 earlier) <r1pe93$1cco$1@gioia.aioe.org> <slrnr44lcg.km3.grahn+nntp@frailea.sa.invalid> <r20tk8$pt0$1@dont-email.me> <86zhdbcaoo.fsf@linuxsc.com> <3e4ee590-e882-4442-9b5c-e8a07ff16dd8@googlegroups.com>

Show all headers | View raw


James Kuyper <jameskuyper@alumni.caltech.edu> writes:

> On Saturday, February 22, 2020 at 3:01:53 AM UTC-5, Tim Rentsch wrote:
>
>> James Kuyper <jameskuyper@alumni.caltech.edu> writes:
>>
>>> On 2/11/20 2:19 AM, Jorgen Grahn wrote:
>>> ...
>>>
>>>> The thing I have against unit tests is that, for me, writing tests
>>>> means I don't read the code as carefully. ...
>>>
>>> That makes just as much sense, for exactly the same reason, as "I don't
>>> like washing my hands because it means that I don't feel a need to avoid
>>> people who are coughing and sneezing, and then I end up catching their
>>> colds."
>>
>> Whether the original statement is true or not, the analogy
>> is flawed.
>
> Of course you feel that way - I don't think you've ever seen an analogy
> that you liked.  That's not a particularly useful response. [...]

It's not my job to educate you.  As a rule I'm not inclined
to try to be helpful to people who seem to go out of their
way to make it difficult to provide help.

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


Thread

Re: Pre- and post- conditions (was Re: Coding style for small if statements) Tim Rentsch <tr.17687@z991.linuxsc.com> - 2020-02-22 00:01 -0800
  Re: Pre- and post- conditions (was Re: Coding style for small if statements) James Kuyper <jameskuyper@alumni.caltech.edu> - 2020-02-22 05:22 -0800
    Re: Pre- and post- conditions (was Re: Coding style for small if statements) Tim Rentsch <tr.17687@z991.linuxsc.com> - 2020-04-02 07:57 -0700
      Re: Pre- and post- conditions (was Re: Coding style for small if statements) James Kuyper <jameskuyper@alumni.caltech.edu> - 2020-04-02 08:28 -0700

csiph-web