🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.fortran
Article #593

Re: “The end of software secrecy is almost upon

#593
From: Tristan Wibberley
Date: Sun, 06 Dec 2026 02:52
43 lines
3525 bytes
On 06/12/2026 01:17, Lawrence D’Oliveiro wrote:
> On Sun, 6 Dec 2026 00:28:00 +0000, Tristan Wibberley wrote:
> 
>> "why" doesn't really belong in the code.
> 
> Put it anywhere else, and it becomes separated from the code.
> 
> Comments shouldn’t repeat what the code does, they need to explain
> *why* the code is doing what it’s doing.
> 
> Example:
> 
>     key += 0.01 # sort literal numbers before expressions evaluating to those numbers
> 
> Cryptic, because out of context. With some more context:
> 

... madness snipped ...

> 
> Bit clearer now, why it’s doing what it’s doing?

The code in your post (referenced) has such big problems for wider
tractability that the comment is a drop in the ocean. Despite which the
utility of the line in question is so obscure that the comment is
actually a /huge/ help but in it's absence I would say the absence of
that comment is not the problem. A reference to a document explaining
the datastructure and its interpretation would be better along with some
different variable names and a symbolic constant


-- 
Tristan Wibberley

The message body is Copyright (C) 2026 Tristan Wibberley except
citations and quotations noted. All Rights Reserved except that you may,
of course, cite it academically giving credit to me, distribute it
verbatim as part of a usenet system or its archives, and use it to
promote my greatness and general superiority without misrepresentation
of my opinions other than my opinion of my greatness and general
superiority which you _may_ misrepresent. You definitely MAY NOT train
any production AI system with it but you may train experimental AI that
will only be used for evaluation of the AI methods it implements.
Technical Details
Message-ID: <11f2il8$3jel2$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.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> <11b6v90$2nine$3@dont-email.me> <11b87t8$379mv$1@dont-email.me> <11b8b2k$p44i$1@dont-email.me> <11b8bga$6hk$1@panix2.panix.com> <11b8hkq$3bdtq$1@dont-email.me> <11b8ien$3b48o$4@dont-email.me> <aengell8ipmbe2n363ajesde6j1086e0ve@4ax.com> <11c9nkt$1d76i$2@dont-email.me> <11f2a6g$3ca6h$4@dont-email.me> <11f2d30$3h58e$2@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk>
Newsgroups: comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers
Subject: Re: “The end of software secrecy is almost upon
Date: Sun, 6 Dec 2026 02:52:24 +0000
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <11f2il8$3jel2$1@dont-email.me>
References: <11amvre$15far$1@dont-email.me> <11b6v90$2nine$3@dont-email.me>
 <11b87t8$379mv$1@dont-email.me> <11b8b2k$p44i$1@dont-email.me>
 <11b8bga$6hk$1@panix2.panix.com> <11b8hkq$3bdtq$1@dont-email.me>
 <11b8ien$3b48o$4@dont-email.me> <aengell8ipmbe2n363ajesde6j1086e0ve@4ax.com>
 <11c9nkt$1d76i$2@dont-email.me> <11f2a6g$3ca6h$4@dont-email.me>
 <11f2d30$3h58e$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 06 Dec 2026 02:52:25 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3783330"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+dxEfF25ueV7WWQJ7EI2HZL8fZqDdnnIobTU7LHCpqcA=="; posting-host="dcb879cf630529286ffe07c4eb0b98ca"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:+KoXDgCmDE2ZLjs9lwL7LIxFY38= sha256:C6jTwDyYU0UhOGdzwJmhsPej86kVAhqgLBjtLHdP0Tk=
	sha1:ESHq5bKlpIfoP39HWV3pukj3x00= sha256:Dm+ea2Ipm/Yn+T+gsm+XzeuJB44cuC7kVhC2AkAY0xE=
In-Reply-To: <11f2d30$3h58e$2@dont-email.me>
Content-Language: en-GB