🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.fortran
Article #556

Re: The end of software secrecy is almost upon us"

#556
From: Lars Poulsen
Date: Sat, 05 Dec 2026 14:05
33 lines
3308 bytes
On 12/5/2026 00:44, Jerry Brown wrote:
> Back in the nineties our head of department came up with a raft of
> ridiculous "stardards" chief of which was that no function should be
> longer than one page. The main language then was 370 PL/I, so this
> worked out *really* well for SELECT statements with many WHEN checks,
> particularly bearing in mind that a logical line of code might occupy
> several physical lines due to the < 80-column working area.
Coding standards are not a bad thing, per se. Some "uniformity of "house 
style" is good for readability, but when it is enforced with iron 
discipline, it is bad for collegial relationships, and also in specific 
cases can be *less* readable. For example, with brace placement:
I generally prefer "K&R style" for short blocks:
         if (count < size) {
             add_an item(...);
         } else {
	    process_overflow(...);
         }
But if the block is more than a couple of lines, I prefer braces to the 
left, so that I can draw lines on a printout between them:
         if (status == HEALTHY)
         {
             // process the normal case
             ...
         } else
         {
             // we are preparing to clean up
             ...
         }
And as you can see, I like the C++ style of comments, so I don't have to 
watch the right-hand side when I am skipping to the next line of actual 
code.
-- 
Lars Poulsen - an old geek in Santa Barbara, California
Technical Details
Message-ID: <11f15n1$2tagh$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11amvre$15far$1@dont-email.me> <11b5tdb$2cs5l$1@dont-email.me> <11b64cp$end$1@panix2.panix.com> <11b64hj$2faos$1@dont-email.me> <11b679m$6dl$1@panix2.panix.com> <11b6u68$2neta$1@dont-email.me> <11b6v90$2nine$3@dont-email.me> <11b87t8$379mv$1@dont-email.me> <ywNBS.209326$koK3.131985@fx01.ams4> <11evf8m$24ad3$2@dont-email.me> <QeIQS.418076$Lt64.136565@fx41.iad> <6ui7hl92mao0iiqhbmfk2r92t4u54dkck4@jwbrown.co.uk>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Lars Poulsen <lars@beagle-ears.com>
Newsgroups: rec.arts.sf.written,comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers
Subject: Re: The end of software secrecy is almost upon us"
Date: Sat, 5 Dec 2026 06:05:19 -0800
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <11f15n1$2tagh$1@dont-email.me>
References: <11amvre$15far$1@dont-email.me> <11b5tdb$2cs5l$1@dont-email.me>
 <11b64cp$end$1@panix2.panix.com> <11b64hj$2faos$1@dont-email.me>
 <11b679m$6dl$1@panix2.panix.com> <11b6u68$2neta$1@dont-email.me>
 <11b6v90$2nine$3@dont-email.me> <11b87t8$379mv$1@dont-email.me>
 <ywNBS.209326$koK3.131985@fx01.ams4> <11evf8m$24ad3$2@dont-email.me>
 <QeIQS.418076$Lt64.136565@fx41.iad>
 <6ui7hl92mao0iiqhbmfk2r92t4u54dkck4@jwbrown.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 05 Dec 2026 14:05:22 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3058193"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+LUUlc/Iqn2VkgzVlTiU+QY5Bs+Ct02u0="; posting-host="cbcbb15cf6d3b553f719c3deb5224f3b"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:qaHz24l6uZBWkQOa2cS97Nao8iE= sha256:0SBLD5zraXN90hgnulByj1YF81qO5mNLRPDeeUZ7Psk=
	sha1:tagr80K6Y/86fQnFtPWpOaUTlVM= sha256:HNXQw+WXeieJ+ZZFBI4jUE6MAT0zVRfadfsuSzGhilw=
In-Reply-To: <6ui7hl92mao0iiqhbmfk2r92t4u54dkck4@jwbrown.co.uk>
Content-Language: en-US