Liste des Groupes | Revenir à se design |
On 2024-11-29 16:21, john larkin wrote:On Thu, 28 Nov 2024 20:42:59 -0700, Don Y>
<blockedofcourse@foo.invalid> wrote:
On 11/28/2024 6:49 AM, Carlos E.R. wrote:>Do *you* "write for yourself" or "write for others"?>
>
I.e., do you write assuming YOU are the Reader? Or, that
OTHERS will be the Reader?
>
[There seems to be a split on how developers write; I think
this would affect their choice of (spoken) languages as well.]
Ah. If I write a script I tend to mix English and Spanish. I tend to use
English thinking of sharing the script or asking questions about it. The places
where I do that are English speaking mostly.
I always write for others -- as, if I have to revisit the code
a year or five hence, *I* will effectively BE one of those
"others".
Some guy wrote a c program that strips comments from c programs. His
reasoning is that the code speaks for itself, and the comments are
always wrong.
Ridiculous.
>>
I assume that program was not commented.
I saw a bit of actual Windows source code, and it had a mandatory,
standard comment section at the start of any block of code. It said
*/
Author: Jim Smith
Date: 2018
Purpose: what it says
/*
>
My first job was as programmer for small company. They had tasked an
external programmer with creating a software for them with LabWindows.
This thing creates displays; think a virtual oscilloscope display, for
instance, measuring things like temperature, pressure, rpm, etc. My boss
says "I want you to add a voltage display". Simple.
>
Well, the original programmer had removed the header file that assigned
labels to both the display windows and the code. The code would say
"display_crt(31, A1)", where 31 was the element in the display to
display rpm, for instance. If I inserted "voltage" in the display
window, all the numbers shifted by one, so that 31 became pressure, for
instance.
>
The programmer had sabotaged the code so that no one could touch it by
replacing labels with their values.
It took me months to recreate the header file with labels. My boss
thought I was useless: it is difficult to explain this to a non programmer.
>
I carefully documented since then every program I wrote. I did not want
any other person to suffer what I did.
Date | Sujet | # | Auteur | |
23 Nov 24 | Datasheet-flation? | 112 | Don Y | |
23 Nov 24 | Re: Datasheet-flation? | 5 | john larkin | |
23 Nov 24 | Re: Datasheet-flation? | 3 | Cursitor Doom | |
23 Nov 24 | Re: Datasheet-flation? | 1 | john larkin | |
24 Nov 24 | Re: Datasheet-flation? | 1 | Bill Sloman | |
23 Nov 24 | Re: Datasheet-flation? | 1 | Joe Gwinn | |
23 Nov 24 | Re: Datasheet-flation? | 103 | Waldek Hebisch | |
23 Nov 24 | Re: Datasheet-flation? | 27 | john larkin | |
24 Nov 24 | Re: Datasheet-flation? | 26 | Waldek Hebisch | |
24 Nov 24 | Re: Datasheet-flation? | 25 | john larkin | |
25 Nov 24 | Re: Datasheet-flation? | 2 | Waldek Hebisch | |
25 Nov 24 | Re: Datasheet-flation? | 1 | john larkin | |
25 Nov 24 | Re: Datasheet-flation? | 22 | Carlos E.R. | |
25 Nov 24 | Re: Datasheet-flation? | 21 | Don Y | |
25 Nov 24 | Re: Datasheet-flation? | 20 | Carlos E.R. | |
25 Nov 24 | Re: Datasheet-flation? | 19 | Don Y | |
26 Nov 24 | Re: Datasheet-flation? | 18 | Carlos E.R. | |
26 Nov 24 | Re: Datasheet-flation? | 17 | Don Y | |
27 Nov 24 | Re: Datasheet-flation? | 16 | Carlos E.R. | |
27 Nov 24 | Re: Datasheet-flation? | 15 | Don Y | |
28 Nov 24 | Re: Datasheet-flation? | 14 | Carlos E.R. | |
29 Nov 24 | Re: Datasheet-flation? | 13 | Don Y | |
29 Nov 24 | Re: Datasheet-flation? | 12 | john larkin | |
29 Nov 24 | Re: Datasheet-flation? | 11 | Carlos E.R. | |
30 Nov 24 | Re: Datasheet-flation? | 1 | Joe Gwinn | |
30 Nov 24 | Re: Datasheet-flation? | 8 | Don Y | |
30 Nov 24 | Re: Datasheet-flation? | 7 | Carlos E.R. | |
30 Nov 24 | Re: Datasheet-flation? | 6 | Don Y | |
30 Nov 24 | Re: Datasheet-flation? | 1 | Don Y | |
1 Dec 24 | Re: Datasheet-flation? | 4 | Carlos E.R. | |
1 Dec 24 | Re: Datasheet-flation? | 3 | Don Y | |
2 Dec 24 | Re: Datasheet-flation? | 2 | Carlos E.R. | |
2 Dec 24 | Re: Datasheet-flation? | 1 | Don Y | |
30 Nov 24 | Re: Datasheet-flation? | 1 | john larkin | |
23 Nov 24 | Re: Datasheet-flation? | 73 | Liz Tuddenham | |
23 Nov 24 | Re: Datasheet-flation? | 3 | Joe Gwinn | |
24 Nov 24 | Re: Datasheet-flation? | 2 | Jeroen Belleman | |
25 Nov 24 | Re: Datasheet-flation? | 1 | Joe Gwinn | |
24 Nov 24 | Re: Datasheet-flation? | 1 | john larkin | |
24 Nov 24 | Re: Datasheet-flation? | 1 | Don Y | |
24 Nov 24 | Re: Datasheet-flation? | 67 | Don Y | |
24 Nov 24 | Re: Datasheet-flation? | 66 | Liz Tuddenham | |
24 Nov 24 | Re: Datasheet-flation? | 54 | Don Y | |
24 Nov 24 | Re: Datasheet-flation? | 53 | Cursitor Doom | |
24 Nov 24 | Re: Datasheet-flation? | 52 | Liz Tuddenham | |
25 Nov 24 | Re: Datasheet-flation? | 22 | Cursitor Doom | |
25 Nov 24 | Re: Datasheet-flation? | 21 | Liz Tuddenham | |
26 Nov 24 | Re: Datasheet-flation? | 20 | Cursitor Doom | |
26 Nov 24 | Re: Datasheet-flation? | 19 | Liz Tuddenham | |
26 Nov 24 | Re: Datasheet-flation? | 18 | john larkin | |
26 Nov 24 | Re: Datasheet-flation? | 1 | Cursitor Doom | |
26 Nov 24 | Re: Datasheet-flation? | 16 | Liz Tuddenham | |
27 Nov 24 | Re: Datasheet-flation? | 2 | john larkin | |
27 Nov 24 | Re: Datasheet-flation? | 1 | Carlos E.R. | |
27 Nov 24 | Re: Datasheet-flation? | 13 | Cursitor Doom | |
28 Nov 24 | Re: Datasheet-flation? | 12 | Liz Tuddenham | |
28 Nov 24 | Re: Datasheet-flation? | 11 | john larkin | |
29 Nov 24 | Re: Datasheet-flation? | 10 | Cursitor Doom | |
29 Nov 24 | Re: Datasheet-flation? | 1 | john larkin | |
29 Nov 24 | Re: Datasheet-flation? | 8 | Liz Tuddenham | |
29 Nov 24 | Re: Datasheet-flation? | 4 | john larkin | |
1 Dec 24 | Re: Datasheet-flation? | 3 | Cursitor Doom | |
2 Dec 24 | Re: Datasheet-flation? | 2 | Liz Tuddenham | |
2 Dec 24 | Re: Datasheet-flation? | 1 | john larkin | |
1 Dec 24 | Re: Datasheet-flation? | 3 | DJ Delorie | |
2 Dec 24 | Re: Datasheet-flation? | 1 | Liz Tuddenham | |
2 Dec 24 | Re: Datasheet-flation? | 1 | john larkin | |
29 Nov 24 | Re: Datasheet-flation? | 29 | Liz Tuddenham | |
29 Nov 24 | Re: Datasheet-flation? | 28 | Carlos E.R. | |
29 Nov 24 | Re: Datasheet-flation? | 7 | john larkin | |
29 Nov 24 | Re: Datasheet-flation? | 1 | Jeroen Belleman | |
29 Nov 24 | Re: Datasheet-flation? | 1 | Carlos E.R. | |
29 Nov 24 | Re: Datasheet-flation? | 4 | Waldek Hebisch | |
30 Nov 24 | Re: Datasheet-flation? | 2 | john larkin | |
1 Dec 24 | Re: Datasheet-flation? | 1 | Cursitor Doom | |
1 Dec 24 | Re: Datasheet-flation? | 1 | Cursitor Doom | |
29 Nov 24 | Re: Datasheet-flation? | 20 | Jeroen Belleman | |
29 Nov 24 | Re: Datasheet-flation? | 19 | Carlos E.R. | |
1 Dec 24 | Re: Datasheet-flation? | 8 | Cursitor Doom | |
2 Dec 24 | Re: Datasheet-flation? | 7 | Carlos E.R. | |
2 Dec 24 | Re: Datasheet-flation? | 1 | john larkin | |
2 Dec 24 | Re: Datasheet-flation? | 5 | Jeroen Belleman | |
2 Dec 24 | Re: Datasheet-flation? | 3 | Carlos E.R. | |
2 Dec 24 | Re: Datasheet-flation? | 2 | john larkin | |
2 Dec 24 | Re: Datasheet-flation? | 1 | Carlos E.R. | |
2 Dec 24 | Re: Datasheet-flation? | 1 | john larkin | |
2 Dec 24 | Re: Datasheet-flation? | 10 | john larkin | |
2 Dec 24 | Re: Datasheet-flation? | 7 | Jeroen Belleman | |
2 Dec 24 | Re: Datasheet-flation? | 1 | john larkin | |
2 Dec 24 | Re: Datasheet-flation? | 5 | Phil Hobbs | |
2 Dec 24 | Re: Datasheet-flation? | 4 | Jeroen Belleman | |
2 Dec 24 | Re: Datasheet-flation? | 3 | Joe Gwinn | |
2 Dec 24 | Re: Datasheet-flation? | 2 | Jeroen Belleman | |
2 Dec 24 | Re: Datasheet-flation? | 1 | Joe Gwinn | |
2 Dec 24 | Re: Datasheet-flation? | 2 | Carlos E.R. | |
2 Dec 24 | Re: Datasheet-flation? | 1 | john larkin | |
24 Nov 24 | Re: Datasheet-flation? | 10 | john larkin | |
24 Nov 24 | Re: Datasheet-flation? | 9 | Liz Tuddenham | |
24 Nov 24 | Re: Datasheet-flation? | 8 | john larkin | |
24 Nov 24 | Re: Datasheet-flation? | 7 | Jeroen Belleman | |
24 Nov 24 | Re: Datasheet-flation? | 1 | Liz Tuddenham | |
24 Nov 24 | Re: Datasheet-flation? | 5 | john larkin | |
24 Nov 24 | Re: Datasheet-flation? | 1 | Jeff Liebermann | |
23 Nov 24 | Re: Datasheet-flation? | 2 | Don Y | |
23 Nov 24 | Re: Datasheet-flation? | 2 | Jeff Liebermann | |
28 Nov 24 | Re: Datasheet-flation? | 1 | john larkin |
Les messages affichés proviennent d'usenet.