Re: Datasheet-flation?

Liste des GroupesRevenir à se design 
Sujet : Re: Datasheet-flation?
De : joegwinn (at) *nospam* comcast.net (Joe Gwinn)
Groupes : sci.electronics.design
Date : 30. Nov 2024, 00:50:47
Autres entêtes
Message-ID : <81kkkjdiu8rs7pkcmpec18d50fuk7jhhrb@4ax.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13
User-Agent : ForteAgent/8.00.32.1272
On Fri, 29 Nov 2024 23:30:59 +0100, "Carlos E.R."
<robin_listas@es.invalid> wrote:

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.

I also have a war story: 

In the early 1980s, we had a young programmer who was not getting to
done for some time.  The language was plain C.  She named all the
variables in the pattern AAA, AAB, AAC, and so on.  No comments of
course.   Nobody could figure out what she was doing, so I was
eventually asked to figure out what was going on.  So I talked to her
and reverse engineered her code, generating a big flow chart in the
process. 

It was apparent that the approach was completely wrong, and far more
complex than needed.  My instinct is that she didn't know how to do
whatever it did (I no longer remember), and so was playing for time,
which worked until it didn't.  She was reassigned.  If she had asked
for help, she would have been OK.


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.

Yeah.

Joe Gwinn

Date Sujet#  Auteur
23 Nov 24 * Datasheet-flation?112Don Y
23 Nov 24 +* Re: Datasheet-flation?5john larkin
23 Nov 24 i+* Re: Datasheet-flation?3Cursitor Doom
23 Nov 24 ii+- Re: Datasheet-flation?1john larkin
24 Nov 24 ii`- Re: Datasheet-flation?1Bill Sloman
23 Nov 24 i`- Re: Datasheet-flation?1Joe Gwinn
23 Nov 24 +* Re: Datasheet-flation?103Waldek Hebisch
23 Nov 24 i+* Re: Datasheet-flation?27john larkin
24 Nov 24 ii`* Re: Datasheet-flation?26Waldek Hebisch
24 Nov 24 ii `* Re: Datasheet-flation?25john larkin
25 Nov 24 ii  +* Re: Datasheet-flation?2Waldek Hebisch
25 Nov 24 ii  i`- Re: Datasheet-flation?1john larkin
25 Nov 24 ii  `* Re: Datasheet-flation?22Carlos E.R.
25 Nov 24 ii   `* Re: Datasheet-flation?21Don Y
25 Nov 24 ii    `* Re: Datasheet-flation?20Carlos E.R.
25 Nov 24 ii     `* Re: Datasheet-flation?19Don Y
26 Nov 24 ii      `* Re: Datasheet-flation?18Carlos E.R.
26 Nov 24 ii       `* Re: Datasheet-flation?17Don Y
27 Nov 24 ii        `* Re: Datasheet-flation?16Carlos E.R.
27 Nov 24 ii         `* Re: Datasheet-flation?15Don Y
28 Nov 24 ii          `* Re: Datasheet-flation?14Carlos E.R.
29 Nov 24 ii           `* Re: Datasheet-flation?13Don Y
29 Nov 24 ii            `* Re: Datasheet-flation?12john larkin
29 Nov 24 ii             `* Re: Datasheet-flation?11Carlos E.R.
30 Nov 24 ii              +- Re: Datasheet-flation?1Joe Gwinn
30 Nov 24 ii              +* Re: Datasheet-flation?8Don Y
30 Nov 24 ii              i`* Re: Datasheet-flation?7Carlos E.R.
30 Nov 24 ii              i `* Re: Datasheet-flation?6Don Y
30 Nov 24 ii              i  +- Re: Datasheet-flation?1Don Y
1 Dec 24 ii              i  `* Re: Datasheet-flation?4Carlos E.R.
1 Dec 24 ii              i   `* Re: Datasheet-flation?3Don Y
2 Dec 24 ii              i    `* Re: Datasheet-flation?2Carlos E.R.
2 Dec 24 ii              i     `- Re: Datasheet-flation?1Don Y
30 Nov 24 ii              `- Re: Datasheet-flation?1john larkin
23 Nov 24 i+* Re: Datasheet-flation?73Liz Tuddenham
23 Nov 24 ii+* Re: Datasheet-flation?3Joe Gwinn
24 Nov 24 iii`* Re: Datasheet-flation?2Jeroen Belleman
25 Nov 24 iii `- Re: Datasheet-flation?1Joe Gwinn
24 Nov 24 ii+- Re: Datasheet-flation?1john larkin
24 Nov 24 ii+- Re: Datasheet-flation?1Don Y
24 Nov 24 ii`* Re: Datasheet-flation?67Don Y
24 Nov 24 ii `* Re: Datasheet-flation?66Liz Tuddenham
24 Nov 24 ii  +* Re: Datasheet-flation?54Don Y
24 Nov 24 ii  i`* Re: Datasheet-flation?53Cursitor Doom
24 Nov 24 ii  i `* Re: Datasheet-flation?52Liz Tuddenham
25 Nov 24 ii  i  +* Re: Datasheet-flation?22Cursitor Doom
25 Nov 24 ii  i  i`* Re: Datasheet-flation?21Liz Tuddenham
26 Nov 24 ii  i  i `* Re: Datasheet-flation?20Cursitor Doom
26 Nov 24 ii  i  i  `* Re: Datasheet-flation?19Liz Tuddenham
26 Nov 24 ii  i  i   `* Re: Datasheet-flation?18john larkin
26 Nov 24 ii  i  i    +- Re: Datasheet-flation?1Cursitor Doom
26 Nov 24 ii  i  i    `* Re: Datasheet-flation?16Liz Tuddenham
27 Nov 24 ii  i  i     +* Re: Datasheet-flation?2john larkin
27 Nov 24 ii  i  i     i`- Re: Datasheet-flation?1Carlos E.R.
27 Nov 24 ii  i  i     `* Re: Datasheet-flation?13Cursitor Doom
28 Nov 24 ii  i  i      `* Re: Datasheet-flation?12Liz Tuddenham
28 Nov 24 ii  i  i       `* Re: Datasheet-flation?11john larkin
29 Nov 24 ii  i  i        `* Re: Datasheet-flation?10Cursitor Doom
29 Nov 24 ii  i  i         +- Re: Datasheet-flation?1john larkin
29 Nov 24 ii  i  i         `* Re: Datasheet-flation?8Liz Tuddenham
29 Nov 24 ii  i  i          +* Re: Datasheet-flation?4john larkin
1 Dec 24 ii  i  i          i`* Re: Datasheet-flation?3Cursitor Doom
2 Dec 24 ii  i  i          i `* Re: Datasheet-flation?2Liz Tuddenham
2 Dec 24 ii  i  i          i  `- Re: Datasheet-flation?1john larkin
1 Dec 24 ii  i  i          `* Re: Datasheet-flation?3DJ Delorie
2 Dec 24 ii  i  i           +- Re: Datasheet-flation?1Liz Tuddenham
2 Dec 24 ii  i  i           `- Re: Datasheet-flation?1john larkin
29 Nov 24 ii  i  `* Re: Datasheet-flation?29Liz Tuddenham
29 Nov 24 ii  i   `* Re: Datasheet-flation?28Carlos E.R.
29 Nov 24 ii  i    +* Re: Datasheet-flation?7john larkin
29 Nov 24 ii  i    i+- Re: Datasheet-flation?1Jeroen Belleman
29 Nov 24 ii  i    i+- Re: Datasheet-flation?1Carlos E.R.
29 Nov 24 ii  i    i`* Re: Datasheet-flation?4Waldek Hebisch
30 Nov 24 ii  i    i +* Re: Datasheet-flation?2john larkin
1 Dec 24 ii  i    i i`- Re: Datasheet-flation?1Cursitor Doom
1 Dec 24 ii  i    i `- Re: Datasheet-flation?1Cursitor Doom
29 Nov 24 ii  i    `* Re: Datasheet-flation?20Jeroen Belleman
29 Nov 24 ii  i     `* Re: Datasheet-flation?19Carlos E.R.
1 Dec 24 ii  i      +* Re: Datasheet-flation?8Cursitor Doom
2 Dec 24 ii  i      i`* Re: Datasheet-flation?7Carlos E.R.
2 Dec 24 ii  i      i +- Re: Datasheet-flation?1john larkin
2 Dec 24 ii  i      i `* Re: Datasheet-flation?5Jeroen Belleman
2 Dec 24 ii  i      i  +* Re: Datasheet-flation?3Carlos E.R.
2 Dec 24 ii  i      i  i`* Re: Datasheet-flation?2john larkin
2 Dec 24 ii  i      i  i `- Re: Datasheet-flation?1Carlos E.R.
2 Dec 24 ii  i      i  `- Re: Datasheet-flation?1john larkin
2 Dec 24 ii  i      `* Re: Datasheet-flation?10john larkin
2 Dec 24 ii  i       +* Re: Datasheet-flation?7Jeroen Belleman
2 Dec 24 ii  i       i+- Re: Datasheet-flation?1john larkin
2 Dec 24 ii  i       i`* Re: Datasheet-flation?5Phil Hobbs
2 Dec 24 ii  i       i `* Re: Datasheet-flation?4Jeroen Belleman
2 Dec 24 ii  i       i  `* Re: Datasheet-flation?3Joe Gwinn
2 Dec 24 ii  i       i   `* Re: Datasheet-flation?2Jeroen Belleman
2 Dec 24 ii  i       i    `- Re: Datasheet-flation?1Joe Gwinn
2 Dec 24 ii  i       `* Re: Datasheet-flation?2Carlos E.R.
2 Dec 24 ii  i        `- Re: Datasheet-flation?1john larkin
24 Nov 24 ii  +* Re: Datasheet-flation?10john larkin
24 Nov 24 ii  i`* Re: Datasheet-flation?9Liz Tuddenham
24 Nov 24 ii  i `* Re: Datasheet-flation?8john larkin
24 Nov 24 ii  i  `* Re: Datasheet-flation?7Jeroen Belleman
24 Nov 24 ii  i   +- Re: Datasheet-flation?1Liz Tuddenham
24 Nov 24 ii  i   `* Re: Datasheet-flation?5john larkin
24 Nov 24 ii  `- Re: Datasheet-flation?1Jeff Liebermann
23 Nov 24 i`* Re: Datasheet-flation?2Don Y
23 Nov 24 +* Re: Datasheet-flation?2Jeff Liebermann
28 Nov 24 `- Re: Datasheet-flation?1john larkin

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal