Deutsch   English   Français   Italiano  
<vusv28$40ra$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com>
Newsgroups: comp.lang.c
Subject: Re: Rationale for aligning data on even bytes in a Unix shell file?
Date: Wed, 30 Apr 2025 12:46:30 +0200
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <vusv28$40ra$1@dont-email.me>
References: <vuih43$2agfa$1@dont-email.me>
 <vun04h$2fjrn$2@raubtier-asyl.eternal-september.org>
 <vun1nh$22hc5$3@dont-email.me>
 <vunak2$2p980$1@raubtier-asyl.eternal-september.org>
 <vunbgo$2q5u8$1@dont-email.me>
 <vunbjg$2q72n$1@raubtier-asyl.eternal-september.org>
 <vunhtp$301lb$1@dont-email.me>
 <vunib4$308ou$1@raubtier-asyl.eternal-september.org>
 <vunilp$30n57$1@raubtier-asyl.eternal-september.org>
 <vcMPP.1383459$f81.136711@fx48.iad>
 <vuobu5$3o38b$2@raubtier-asyl.eternal-september.org>
 <SxOPP.2986762$t84d.1636746@fx11.iad> <20250428203634.00006e09@yahoo.com>
 <vupvph$1a961$1@dont-email.me> <vurvru$34gfq$4@dont-email.me>
 <vusiqn$3ov7j$1@dont-email.me> <vuskeh$3p7jv$1@dont-email.me>
 <vusp6a$3ulkn$1@dont-email.me> <vustqu$2ga6$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 30 Apr 2025 12:46:38 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="8b554373312cb846ab75b9a5dacf40bd";
	logging-data="131946"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+FgqCk67KXqBD7kSEAR4Fc"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.8.0
Cancel-Lock: sha1:/daQxFvCiWJ/dW4NceiO7RWvvto=
In-Reply-To: <vustqu$2ga6$2@dont-email.me>
X-Enigmail-Draft-Status: N1110
Bytes: 2977

On 30.04.2025 12:25, David Brown wrote:
> On 30/04/2025 11:06, Muttley@DastardlyHQ.org wrote:
>>
>> I've seen on more than one occasion C++ (not C yet) projects where there
>> were 2 files only different in case, eg: Network.cpp and network.cpp
>> where
>> the former would be the class and the latter would be procedural
>> support code.
> 
> I'd question the wisdom of such a convention.  I'd rather have clearer
> separation of the filenames, or perhaps use different directories,
> aiming to make it hard to mix up the names.  But maybe it is an
> appropriate choice in some situations - perhaps alternative naming
> schemes were considered worse in other ways.

I recall similar situations in our C++ contexts where name suffixes
were used (like "_util", "_aux", or similar) to disambiguate them.

I don't think it's a good idea to use the same names and resolve
them by organizing them through different directories only. I recall
we had used regularly -I compiler flags and I don't want to imagine
the hassle with same file names located in different directories.

Janis