comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: When to use formal discrete type?
Date: Wed, 29 Nov 2017 22:07:37 +0100
Date: 2017-11-29T22:07:37+01:00	[thread overview]
Message-ID: <ovn7ir$9ui$1@gioia.aioe.org> (raw)
In-Reply-To: 7e91dadf-baa7-4742-b0b9-44ab7e5731b8@googlegroups.com

On 2017-11-29 20:43, Shark8 wrote:

> My rule of thumb is use the most general type as reasonably possible

BTW, that's the principle of weakening preconditions [and strengthening 
post-conditions]

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


  reply	other threads:[~2017-11-29 21:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-29 19:04 When to use formal discrete type? Victor Porton
2017-11-29 19:43 ` Shark8
2017-11-29 21:07   ` Dmitry A. Kazakov [this message]
2017-11-29 21:05 ` 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