comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Length of unbounded_string.
Date: Thu, 27 Oct 2011 14:17:43 +0200
Date: 2011-10-27T14:17:43+02:00	[thread overview]
Message-ID: <d59fhj59oqp8$.13uer8rriyolv$.dlg@40tude.net> (raw)
In-Reply-To: 4ea94067$0$6625$9b4e6d93@newsspool2.arcor-online.net

On Thu, 27 Oct 2011 13:28:39 +0200, Georg Bauhaus wrote:

> On 27.10.11 10:56, Simon Wright wrote:
>> "Randy Brukardt" <randy@rrsoftware.com> writes:
>> 
>>> Even people who should know better do it (and I know I have,
>>> too). It's a pain to create a reproducing example, but a lot of time
>>> when I do that, it becomes clear what is wrong (and it often is
>>> "operator error"!).
>> 
>> Me too.
> 
> A natural extension of this phenomenon into the workplace seems to
> be writing tests.

And the reasonable one is static checks.

> *) test cases increase the likelihood of isolated pieces of
>    software that can be forward to help desks

What is "the likelihood of isolated pieces"?

> *) writing tests means documenting and verifying assumptions.

It does not.

A proper statement should sound like: the software must be developed in a
way that would make it testable.

This has little to do with either documentation or understanding of a
*given* implementation, just a separate issue. Furthermore, I would argue
that the documentation developed on the basis of tests, or even of use
cases, would be rather poor.

> It has taken a bit of patience and getting used to, but writing
> tests early seems well worth it. With or without "formal methods".

One should complement another.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2011-10-27 12:17 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-25  9:37 Length of unbounded_string ldries46
2011-10-25 17:57 ` Jeffrey Carter
2011-10-28  2:54   ` ldries46
2011-10-28  4:55     ` Jeffrey Carter
2011-10-25 20:23 ` Vadim Godunko
2011-10-25 21:28   ` Simon Wright
2011-10-26  4:41     ` Simon Wright
2011-10-26 22:47     ` Randy Brukardt
2011-10-27  8:05       ` AdaMagica
2011-10-27  8:56       ` Simon Wright
2011-10-27 11:05         ` Brian Drummond
2011-10-28  3:12           ` ldries46
     [not found]           ` <4eafc489$0$3081$703f8584@textnews.kpn.nl>
2011-11-01 18:22             ` Jeffrey Carter
2011-10-27 11:28         ` Georg Bauhaus
2011-10-27 12:17           ` Dmitry A. Kazakov [this message]
2011-10-27 13:31             ` Georg Bauhaus
2011-10-27 14:34               ` Dmitry A. Kazakov
  -- strict thread matches above, loose matches on Subject: below --
2011-10-16  8:48 ldries46
2011-10-16  9:59 ` Niklas Holsti
2011-10-16 12:06   ` ldries46
2011-10-16 12:52   ` ldries46
2011-10-16 13:00     ` Niklas Holsti
2011-10-17  7:39       ` ldries46
2011-10-17 19:49         ` Niklas Holsti
2011-10-18 11:47           ` ldries46
2011-10-18 17:54             ` Niklas Holsti
2011-10-19  2:38               ` ldries46
2011-10-19  6:07                 ` Niklas Holsti
2011-10-24 15:10                   ` ldries46
2011-10-19  6:37                 ` Simon Wright
2011-10-19 14:48                 ` Alex Mentis
2011-10-24 17:04                   ` ldries46
2011-10-16 10:14 ` Vinzent Hoefler
replies disabled

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