From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Header-only Ada libraries...
Date: Fri, 1 Jun 2018 12:00:36 +0200
Date: 2018-06-01T12:00:36+02:00 [thread overview]
Message-ID: <per5g3$6kb$1@gioia.aioe.org> (raw)
In-Reply-To: per2rf$2o1$1@dont-email.me
On 2018-06-01 11:15 AM, Jeffrey R. Carter wrote:
> On 05/31/2018 11:04 PM, Robert A Duff wrote:
>> "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org> writes:
>>
>>> Not a header in sight. Not surprising, since Ada doesn't have headers.
>>
>> That's like saying, "French people don't eat cheese."
>
> No, the OP's use of "header" is like using the word "cheese" to mean
> yogurt. There are similarities, but they're not the same thing.
>
> The differences between package specifications and C header files are
> far more significant than any similarities. Some of the worst Ada I've
> seen treated pkg specs the way most C people treat header files: as
> inconveniences they have to create to keep the compiler happy. Thinking
> about any part of Ada in C terms is a recipe for disaster.
That reminds me a C code review I once made. It had all code placed in
header files! (:-))
Considering recent Ada additions to have statements expressions to be
placed in package specifications ... not yogurt, but Camembert already.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2018-06-01 10:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-31 11:14 Header-only Ada libraries Alejandro R. Mosteo
2018-05-31 12:18 ` joakimds
2018-05-31 12:38 ` Egil H H
2018-05-31 13:58 ` joakimds
2018-05-31 12:55 ` Luke A. Guest
2018-05-31 13:34 ` Jeffrey R. Carter
2018-05-31 13:35 ` Jeffrey R. Carter
2018-05-31 21:04 ` Robert A Duff
2018-05-31 22:53 ` Randy Brukardt
2018-06-01 9:15 ` Jeffrey R. Carter
2018-06-01 10:00 ` Dmitry A. Kazakov [this message]
2018-06-05 12:31 ` Alejandro R. Mosteo
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox