• Inflation (Re: naughty Python)

    From Lars Poulsen@3:633/10 to All on Thu Jan 1 15:57:01 2026
    On 2026-01-01, The Natural Philosopher <tnp@invalid.invalid> wrote:
    I threw the pascal out and rewrote everything in a French B & B over
    the weekend. In C. Probably the best work I ever did.

    For which the guy who I did it for didn't pay me till I took him to court.

    Whereas the best money I ever made was to go to London and get paid œ450
    to snip the leg on one capacitor...

    I hope that was a looooong time ago. In today's money, that would barely
    pay union scale for the travel time.

    --
    Lars Poulsen - an old geek in Santa Barbara, California

    --- PyGate Linux v1.5.2
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From John Levine@3:633/10 to All on Fri Jan 2 18:30:37 2026
    According to c186282 <c186282@nnada.net>:
    Considering early 'structured' langs like Algol/Pascal,
    USUALLY you can structure things to cope with any prob.
    However sometimes, well, 'perfect' structure for that
    may take WAY longer than you can afford to invest, so
    some 'cheats' may have to be introduced. CompSci people
    won't understand that reality.

    Hi, Comp Sci PhD here. We understand that just fine, although
    some of us try harder than others to match theory to reality.
    Algol60 had nice loops and nested scopes but it also had gotos.

    Comp Sci like any other field can be very trendy. When I was
    in school it was fashionable to say bad things about COBOL even
    though hardly anyone actually knew what COBOL was like. I found
    a compiler and wrote one small program to find out that yes it
    is wordy but it also had better data structuring than a lot of
    more fashionable languages.

    --
    Regards,
    John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
    Please consider the environment before reading this e-mail. https://jl.ly

    --- PyGate Linux v1.5.2
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From c186282@3:633/10 to All on Fri Jan 2 15:15:53 2026
    On 1/2/26 13:30, John Levine wrote:
    According to c186282 <c186282@nnada.net>:
    Considering early 'structured' langs like Algol/Pascal,
    USUALLY you can structure things to cope with any prob.
    However sometimes, well, 'perfect' structure for that
    may take WAY longer than you can afford to invest, so
    some 'cheats' may have to be introduced. CompSci people
    won't understand that reality.

    Hi, Comp Sci PhD here. We understand that just fine, although
    some of us try harder than others to match theory to reality.
    Algol60 had nice loops and nested scopes but it also had gotos.

    Comp Sci like any other field can be very trendy. When I was
    in school it was fashionable to say bad things about COBOL even
    though hardly anyone actually knew what COBOL was like. I found
    a compiler and wrote one small program to find out that yes it
    is wordy but it also had better data structuring than a lot of
    more fashionable languages.

    I *like* to make 'perfect' structuring that will
    handle anything, but at times there was time pressure
    to "make it work" and I could not spend days/weeks
    trying to get it 'just perfect'.

    Sometimes coming BACK to it in a month or two will
    yield sudden inspiration however ... I think the
    annoying problem hides in the back of the mind
    for a long time and gets at least some 'cpu cycles'
    even if you don't realize.


    --- PyGate Linux v1.5.2
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From John Levine@3:633/10 to All on Fri Jan 2 20:34:55 2026
    According to c186282 <c186282@nnada.net>:
    I *like* to make 'perfect' structuring that will
    handle anything, but at times there was time pressure
    to "make it work" and I could not spend days/weeks
    trying to get it 'just perfect'.

    Sometimes coming BACK to it in a month or two will
    yield sudden inspiration however ... I think the
    annoying problem hides in the back of the mind
    for a long time and gets at least some 'cpu cycles'
    even if you don't realize.

    Yes indeed. Some of my most productive programming days
    ended up with fewer lines of code than I started with, but it
    was faster and had fewer bugs.


    --
    Regards,
    John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
    Please consider the environment before reading this e-mail. https://jl.ly

    --- PyGate Linux v1.5.2
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Chris Ahlstrom@3:633/10 to All on Sat Jan 3 07:11:19 2026
    rbowman wrote this post by blinking in Morse code:

    On Fri, 2 Jan 2026 15:15:53 -0500, c186282 wrote:

    I *like* to make 'perfect' structuring that will handle anything, but
    at times there was time pressure to "make it work" and I could not
    spend days/weeks trying to get it 'just perfect'.

    We had a couple of programmers who tried to handle all possible eventualities. Typically the eventualities never evidenced or whatever the theoretical future does, leaving a very complex piece of code to do the
    task at hand.

    Solve tomorrow's problems tomorrow.

    1 Thou shalt run lint frequently and study its pronouncements with
    care, for verily its perception and judgement oft exceed thine.

    2 Thou shalt not follow the NULL pointer, for chaos and madness
    await thee at its end.

    3 Thou shalt cast all function arguments to the expected type if
    they are not of that type already, even when thou art
    convinced that this is unnecessary, lest they take cruel
    vengeance upon thee when thou least expect it.

    4 If thy header files fail to declare the return types of thy
    library functions, thou shalt declare them thyself with the
    most meticulous care, lest grievous harm befall thy program.

    5 Thou shalt check the array bounds of all strings (indeed, all
    arrays), for surely where thou typest ??foo?? someone
    someday shall type ??supercalifragilisticexpialidocious??.

    6 If a function be advertised to return an error code in the event
    of difficulties, thou shalt check for that code, yea, even
    though the checks triple the size of thy code and produce
    aches in thy typing fingers, for if thou thinkest ??it
    cannot happen to me??, the gods shall surely punish thee for
    thy arrogance.

    7 Thou shalt study thy libraries and strive not to re-invent them
    without cause, that thy code may be short and readable and
    thy days pleasant and productive.

    8 Thou shalt make thy program?s purpose and structure clear to thy
    fellow man by using the One True Brace Style, even if thou
    likest it not, for thy creativity is better used in solving
    problems than in creating beautiful new impediments to
    understanding.

    9 Thy external identifiers shall be unique in the first six
    characters, though this harsh discipline be irksome and the
    years of its necessity stretch before thee seemingly without
    end, lest thou tear thy hair out and go mad on that fateful
    day when thou desirest to make thy program run on an old
    system.

    10 Thou shalt foreswear, renounce, and abjure the vile heresy
    which claimeth that ??All the world?s a VAX??, and have no
    commerce with the benighted heathens who cling to this
    barbarous belief, that the days of thy program may be long
    even though the days of thy current machine be short.

    --
    But I always fired into the nearest hill or, failing that, into blackness.
    I meant no harm; I just liked the explosions. And I was careful never to
    kill more than I could eat.
    -- Raoul Duke

    --- PyGate Linux v1.5.2
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Chris Ahlstrom@3:633/10 to All on Sun Jan 4 06:45:44 2026
    rbowman wrote this post by blinking in Morse code:

    On Sat, 3 Jan 2026 07:11:19 -0500, Chris Ahlstrom wrote:

    3 Thou shalt cast all function arguments to the expected type if
    they are not of that type already, even when thou art convinced
    that this is unnecessary, lest they take cruel vengeance upon thee
    when thou least expect it.

    Corollary: thou shalt be sparing in thy use of const lest future
    generations curse thy name.

    const can be annoying, but it forces one to *think*, which, as you
    hint, can cause cursing.

    :-D

    --
    The truth is not free. It's that simple. If you change the truth, it is no longer true - so the truth is not free!
    -- Jules Bean about freeness of documentation

    --- PyGate Linux v1.5.2
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)