comp.lang.ada
 help / color / mirror / Atom feed
From: AdaMagica <christ-usch.grein@t-online.de>
Subject: Re: Is the Documentation In a spec File Usually Enough For You ?
Date: Thu, 18 Oct 2018 02:06:32 -0700 (PDT)
Date: 2018-10-18T02:06:32-07:00	[thread overview]
Message-ID: <eec140a3-cab7-43d2-a6a1-dc7ebce86a5b@googlegroups.com> (raw)
In-Reply-To: <pq55ad$l96$1@dont-email.me>

Am Dienstag, 16. Oktober 2018 18:57:51 UTC+2 schrieb Jeffrey R. Carter:
> On 10/16/18 11:57 AM, AdaMagica wrote:
> > 
> > OK. In function Password_Generation.Generate, what are Domain and Master for?
> > What does Hash_Symbol do?
> 
> Good points. This was extracted from a more monolithic, earlier version of 
> Password_Gen, where perhaps these concepts were better explained, and I didn't 
> think to clarify them when I pulled them out. I'll try to explain these better.

Yes. Even inner specs that are not visible for the user must follow these rules that everything visible in the spec is exactly described. Then nothing bad happens when an internal package is extracted.

> > What does "correctness of the implementation" mean for this package?
> 
> That the function returns the same password for the same inputs, and the 
> passwords have all the desirable features for generated passwords:  they appear 
> random, contain characters from all the major food groups, and give away nothing 
> about the master password.

This is what I mean. There is no requirement defined for this operation. So how can I as a user know what I get? So you have to put this in the spec as a description. Then a user can make test to check whether the claims are true.

Christoph


  reply	other threads:[~2018-10-18  9:06 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-15  0:42 Is the Documentation In a spec File Usually Enough For You ? patrick
2018-10-15  5:44 ` Henrik Härkönen
2018-10-15  7:22 ` Dmitry A. Kazakov
2018-10-15  7:42 ` Niklas Holsti
2018-10-15 10:05 ` AdaMagica
2018-10-15 11:25   ` patrick
2018-10-15 11:57     ` Markus Schöpflin
2018-10-15 13:02       ` patrick
2018-10-15 16:50 ` Jeffrey R. Carter
2018-10-16  9:57   ` AdaMagica
2018-10-16 16:57     ` Jeffrey R. Carter
2018-10-18  9:06       ` AdaMagica [this message]
2018-10-18 15:24         ` Brad Moore
2018-10-18 17:29         ` Jeffrey R. Carter
2018-10-18 17:54           ` AdaMagica
2018-10-18 18:50             ` Dennis Lee Bieber
2018-10-18 20:07             ` Jeffrey R. Carter
2018-10-21 15:20               ` AdaMagica
2018-10-21 18:56                 ` Jeffrey R. Carter
2018-10-22 16:04                   ` AdaMagica
2018-10-22 19:13                     ` Jeffrey R. Carter
2018-10-23 10:00                       ` AdaMagica
2018-10-18 21:24             ` Randy Brukardt
2018-10-19  7:39               ` J-P. Rosen
2018-10-20  1:27                 ` Randy Brukardt
replies disabled

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