🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1832

Re: Yet another digression (was Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthes...

#1832
From: Ross Finlayson
Date: Tue, 24 Nov 2026 16:37
62 lines
5075 bytes
On 11/23/2026 08:15 PM, James Kuyper wrote:
> On 2026-11-23 05:06, Janis Papanagnou wrote:
>> On 2026-11-22 18:04, Ross Finlayson wrote:
>>>
>>> [...] Then,
>>> for example there's "blank line at the end of a file or no blank line",
>>
>> (Note that your wording is expressing a shifted perspective.)
>>
>>> for example Java-style has "no trailing line", here it's that
>>> the files always have a trailing empty line, then that for
>>> accounts like "cat all the files" that they're not ellided.
>>
>> I've never heard about "blank line at the end of a file".
>
> I no longer see Ross's messages directly, only what's quoted in other
> people's responses.
>
> Could he be referring to what the C standard says about text streams:
>
> "Whether the last line requires a terminating new-line character is
> implementation-defined." (7.24.2p2 n3998.pdf)
>
> I wouldn't describe that as "blank line or no blank line", but I could
> imagine it being misunderstood that way.
>
> The C++ standard defines the behavior of many fundamental <iostream>
> functions in terms of the C standard library's routines, so I suspect
> that this also applies to C++.
>


I know what I meant, it doesn't take a generous reading to see
that's what's _relevant_ as an example.


The generous vis-a-vis the in-generous reading has that usual
accounts like for "Grice" again or "effective communication",
here has that having a "blank line" at the end of a compilation
unit's sources, is usually considered a reasonable thing, vis-a-vis,
for example, using line-oriented data and where either line-endings
or end-of-file are record-separators, and _not_ having blank lines,
i.e., there are settings where the last character in the file
being a newline (i.e., resulting a "blank line", in the generous
reading, for a line-reader that interprets either line-endings
or end-of-file as record-separators and, well, end-of-file),
is allowed, and settings where it ain't, that then in source files,
about which various opinionated pretty-printers eventually have
an option someone will tweak (and, generally it's a rule that
"tweakers are un-reliable"), finding a chance to save one character-set
character-set-encoding language's/system's newline or line-ending,
like people who can't stand semi-colons as statement-endings,
then has that people who omit the Oxford, standard, Harvard,
serial comma: are considered slights to the language.



I'm not dis-interested your opinion, haven't much heard of it.
Perhaps you have subtler influences than I'd otherwise infer.


Technical Details
Message-ID: <5Emdndgv477cIJj2nZ2dnZfqnPqdnZ2d@giganews.com>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!border-3.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
References: <11cj4a0$23796$1@dont-email.me> <11dg2uf$3vgth$1@kst.eternal-september.org> <-OqdnSRYr8ZbiGH3nZ2dnZfqn_GdnZ2d@giganews.com> <11diid8$q4aj$2@kst.eternal-september.org> <jzadncOUl7VebWH3nZ2dnZfqn_WdnZ2d@giganews.com> <11djku9$14q9v$1@dont-email.me> <11djohu$s03n$5@dont-email.me> <11djsoh$17he7$1@dont-email.me> <JzOdnc2k5ZGeHmD3nZ2dnZfqn_qdnZ2d@giganews.com> <11dl9ou$1p00u$1@kst.eternal-september.org> <11dm94c$21u9i$1@dont-email.me> <11dmbq9$s03n$7@dont-email.me> <11dmhg2$24tb6$1@dont-email.me> <11dmib8$s03n$9@dont-email.me> <11dmqbl$289i4$1@dont-email.me> <11dmu0s$s03n$10@dont-email.me> <11dmuv3$2a3c0$1@dont-email.me> <11dnr4c$2lhv9$1@kst.eternal-september.org> <11doth7$2vhee$1@dont-email.me> <11dqpqg$3masv$2@dont-email.me> <11drvdj$12fg$1@dont-email.me> <11dt66g$fjb5$2@dont-email.me> <11dui6a$scjp$1@dont-email.me> <SpOcnXL7lP_FgJ72nZ2dnZfqn_idnZ2d@giganews.com> <RdadnUbexs0JvZ72nZ2dnZfqnPednZ2d@giganews.com> <11e136t$f9ab$1@dont-email.me> <11e331r$2gekc$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!border-3.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 24 Nov 2026 16:37:21 +0000
Subject: Re: Yet another digression (was Re: [meta] O tempora, o mores! (was
 Re: does an expression in a logical statement need parenthesis for proper
 evaluation?))
Newsgroups: comp.lang.c++,comp.lang.c
References: <11cj4a0$23796$1@dont-email.me>
 <11dg2uf$3vgth$1@kst.eternal-september.org>
 <-OqdnSRYr8ZbiGH3nZ2dnZfqn_GdnZ2d@giganews.com>
 <11diid8$q4aj$2@kst.eternal-september.org>
 <jzadncOUl7VebWH3nZ2dnZfqn_WdnZ2d@giganews.com>
 <11djku9$14q9v$1@dont-email.me> <11djohu$s03n$5@dont-email.me>
 <11djsoh$17he7$1@dont-email.me>
 <JzOdnc2k5ZGeHmD3nZ2dnZfqn_qdnZ2d@giganews.com>
 <11dl9ou$1p00u$1@kst.eternal-september.org> <11dm94c$21u9i$1@dont-email.me>
 <11dmbq9$s03n$7@dont-email.me> <11dmhg2$24tb6$1@dont-email.me>
 <11dmib8$s03n$9@dont-email.me> <11dmqbl$289i4$1@dont-email.me>
 <11dmu0s$s03n$10@dont-email.me> <11dmuv3$2a3c0$1@dont-email.me>
 <11dnr4c$2lhv9$1@kst.eternal-september.org> <11doth7$2vhee$1@dont-email.me>
 <11dqpqg$3masv$2@dont-email.me> <11drvdj$12fg$1@dont-email.me>
 <11dt66g$fjb5$2@dont-email.me> <11dui6a$scjp$1@dont-email.me>
 <SpOcnXL7lP_FgJ72nZ2dnZfqn_idnZ2d@giganews.com>
 <RdadnUbexs0JvZ72nZ2dnZfqnPednZ2d@giganews.com>
 <11e136t$f9ab$1@dont-email.me> <11e331r$2gekc$1@dont-email.me>
From: Ross Finlayson <ross.a.finlayson@gmail.com>
Date: Tue, 24 Nov 2026 08:37:19 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <11e331r$2gekc$1@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <5Emdndgv477cIJj2nZ2dnZfqnPqdnZ2d@giganews.com>
Lines: 62
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-yPo48LxehZqtJcTErzARzYD5i+Cb57dIGeRjik8rtuXke0pggUvOKEKlfgkVo2mRJky1WJA/9DeH64w!n2ujdSPj2jDmNaSM1AHQeR3es9C0/nE2QhFv/4R0vnVcGGfc0tZoRlpDoURpNbMrrxpqH/BZOrsN
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40