comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison <dennison@telepath.com>
Subject: Re: The Dreaded "Missing Subunits"
Date: Tue, 17 Sep 2002 02:42:31 GMT
Date: 2002-09-17T02:42:31+00:00	[thread overview]
Message-ID: <3D869692.3030805@telepath.com> (raw)
In-Reply-To: yecznuhj3ms.fsf@king.cts.com

Keith Thompson wrote:
> The source file naming situation for C++ and Ada actually seems pretty

Very generally, I'd agree. However, I'd say C++ multiplies the problem 
quite a bit due to several factors.

For one thing, there are 3 types of files rather than 2: includes, code, 
and inline includes (or there are 2 or 4 types, depending on who you 
talk to). Also C++ compilers almost never try to enforce or encourage 
one standard or another. Build tools do sometimes encourage a subset, 
but rarely one particular scheme. So its generally up to the whims of 
the developers rather than the compiler toolkit designers. There are a 
whole lot more developers than there are compiler vendors, so this 
amounts to a conucopia of different file extension schemes one has to be 
prepared to deal with. Also this means that knowing what compiler you 
are using is no help.

> similar.  The C and Ada file naming conventions are also pretty
> similar, except that C's conventions are more consistent.

That depends on what you mean by "consistent". Across all compilers: 
yes. Within a single compilation enviroment: usually not.

It should also be noted that even where C is *more* consistent, it still 
isn't consistent. File name and directory path issues can still throw 
you off, and there are people (typically well out of baseball bat reach) 
who don't follow the standard. Few compilers try to enforce it, so like 
much of C, it is really only a standard in peoples' minds.

But without these Zen-like qualities, it just wouldn't be the C we all 
know and love, would it? :-)




  reply	other threads:[~2002-09-17  2:42 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-12 22:49 The Dreaded "Missing Subunits" Peter Richtmyer
2002-09-13  8:16 ` Peter Amey
2002-09-13  8:51   ` Ada2005 temp solo child (was: " Peter Hermann
2002-09-14  2:33     ` Robert A Duff
2002-09-13  9:24   ` Emmanuel Briot
2002-09-13 20:46     ` Simon Wright
2002-09-14  0:25     ` Chad R. Meiners
2002-09-14  2:53     ` Robert A Duff
2002-09-14 20:20       ` Simon Wright
2002-09-16 13:48         ` Ted Dennison
2002-09-16 16:33           ` Keith Thompson
2002-09-17  2:42             ` Ted Dennison [this message]
2002-09-18 20:56           ` Robert A Duff
2002-09-19  8:26             ` Emmanuel Briot
2002-09-19  9:55             ` Preben Randhol
2002-09-19 10:53             ` Marc A. Criley
2002-09-19 11:26             ` Marin David Condic
2002-09-19 21:49             ` Dmitry A.Kazakov
2002-09-19  9:47               ` Preben Randhol
2002-09-20  2:42                 ` Dmitry A.Kazakov
2002-09-19 15:33                   ` Stephen Leake
2002-09-19 15:36                   ` Preben Randhol
2002-09-20 22:31                     ` Dmitry A.Kazakov
2002-09-16 15:10       ` Emmanuel Briot
2002-09-18 21:17         ` Robert A Duff
2002-09-18 22:41           ` Stephen Leake
2002-09-19  0:00             ` Robert A Duff
2002-09-19  1:39               ` Keith Thompson
2002-09-19 15:19                 ` Stephen Leake
2002-09-19  4:02               ` Larry Kilgallen
2002-09-19 15:24               ` Stephen Leake
2002-09-19 20:34               ` Randy Brukardt
2002-09-19 14:44           ` Peter Richtmyer
2002-09-19 20:25           ` Randy Brukardt
2002-09-13 17:15 ` Mark Johnson
2002-09-13 20:56 ` Stephen Leake
2002-09-13 20:58 ` Simon Wright
2002-09-16 17:28   ` Peter Richtmyer
2002-09-19 20:05     ` Brian Gaffney
  -- strict thread matches above, loose matches on Subject: below --
2002-09-19  1:41 Alexandre E. Kopilovitch
2002-09-19 14:25 ` Peter Hermann
2002-09-19 11:37 Grein, Christoph
2002-09-20  6:03 Grein, Christoph
2002-09-20  7:30 ` Preben Randhol
2002-09-20 14:01   ` Robert A Duff
2002-09-20  9:05 Grein, Christoph
replies disabled

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