Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

The ripest fruit falls first. -- William Shakespeare, "Richard II"


comp / comp.unix.programmer / Re: on Perl

SubjectAuthor
* on Perl (was: Command Languages Versus Programming Languages)Javier
+- Re: on Perl (was: Command Languages Versus Programming Languages)Lawrence D'Oliveiro
`* Re: on Perl (was: Command Languages Versus Programming Languages)Blue-Maned_Hawk
 `* Re: on Perl (was: Command Languages Versus Programming Languages)Lawrence D'Oliveiro
  +* Re: on Perl (was: Command Languages Versus Programming Languages)John Ames
  |+* Re: on Perl (was: Command Languages Versus Programming Languages)Lawrence D'Oliveiro
  ||`* Re: on Perl (was: Command Languages Versus Programming Languages)David Brown
  || +* Re: on Perl (was: Command Languages Versus Programming Languages)Muttley
  || |`- Re: on Perl (was: Command Languages Versus Programming Languages)David Brown
  || `* Re: on PerlChristian Weisgerber
  ||  +* Re: on PerlDavid Brown
  ||  |+* Re: on PerlMuttley
  ||  ||`* Re: on Perlcandycanearter07
  ||  || `* Re: on PerlMuttley
  ||  ||  `- Re: on PerlLawrence D'Oliveiro
  ||  |`* Re: on PerlAndreas Eder
  ||  | `* Re: on PerlJohn Ames
  ||  |  +* Re: on PerlDavid Brown
  ||  |  |`* Re: on PerlJohn Ames
  ||  |  | `* Re: on PerlDavid Brown
  ||  |  |  `* Re: on PerlJohn Ames
  ||  |  |   `* Re: on PerlKaz Kylheku
  ||  |  |    `* Re: on PerlDavid Brown
  ||  |  |     `* Re: on PerlLawrence D'Oliveiro
  ||  |  |      `* Re: on PerlDavid Brown
  ||  |  |       `* Re: on PerlRichard Harnden
  ||  |  |        +- Back and forth (Was: on Perl)Kenny McCormack
  ||  |  |        `* Re: on PerlDavid Brown
  ||  |  |         `- Re: on PerlJohn Ames
  ||  |  `* Re: On Stack-Based Languages (was Re: on Perl)Lawrence D'Oliveiro
  ||  |   `* Re: On Stack-Based Languages (was Re: on Perl)David Brown
  ||  |    +* Re: On Stack-Based Languages (was Re: on Perl)Lawrence D'Oliveiro
  ||  |    |`* Re: On Stack-Based Languages (was Re: on Perl)James K. Lowden
  ||  |    | `- Re: On Stack-Based Languages (was Re: on Perl)Lawrence D'Oliveiro
  ||  |    `- Re: On Stack-Based Languages (was Re: on Perl)Anssi Saari
  ||  `* Re: on PerlMuttley
  ||   +* Re: on PerlScott Lurndal
  ||   |`* Re: on PerlMuttley
  ||   | `* Re: on PerlChris Elvidge
  ||   |  +* Re: on PerlMuttley
  ||   |  |`* Re: on PerlJohn Ames
  ||   |  | +* Re: on PerlMuttley
  ||   |  | |+* Re: on PerlJohn Ames
  ||   |  | ||+* Re: on PerlMuttley
  ||   |  | |||+* Re: on PerlJohn Ames
  ||   |  | ||||`* Re: on PerlMuttley
  ||   |  | |||| `* Re: on PerlJohn Ames
  ||   |  | ||||  `* Re: on PerlMuttley
  ||   |  | ||||   `* Re: on PerlJohn Ames
  ||   |  | ||||    +* Re: on PerlD
  ||   |  | ||||    |`* Re: on PerlMuttley
  ||   |  | ||||    | `* Re: on PerlD
  ||   |  | ||||    |  `* Re: on PerlMuttley
  ||   |  | ||||    |   `* Re: on PerlD
  ||   |  | ||||    |    `* Re: on PerlMuttley
  ||   |  | ||||    |     `* Re: on PerlD
  ||   |  | ||||    |      `* Re: on PerlMuttley
  ||   |  | ||||    |       `* Re: on PerlD
  ||   |  | ||||    |        `* Re: on PerlMuttley
  ||   |  | ||||    |         `- Re: on PerlD
  ||   |  | ||||    `* Re: on PerlMuttley
  ||   |  | ||||     `* Re: on PerlJohn Ames
  ||   |  | ||||      `* Re: on PerlMuttley
  ||   |  | ||||       `* Re: on PerlJohn Ames
  ||   |  | ||||        +* Re: on PerlKenny McCormack
  ||   |  | ||||        |`- Re: on PerlJohn Ames
  ||   |  | ||||        `- Re: on PerlMuttley
  ||   |  | |||+* Re: on PerlKenny McCormack
  ||   |  | ||||`- Re: on PerlMuttley
  ||   |  | |||`* Re: on PerlDavid Brown
  ||   |  | ||| `- Re: on PerlMuttley
  ||   |  | ||`- Re: on PerlKenny McCormack
  ||   |  | |`* Re: on PerlDavid W. Hodgins
  ||   |  | | +- Re: on PerlDavid W. Hodgins
  ||   |  | | `* Re: on PerlChristian Weisgerber
  ||   |  | |  `- Re: on PerlKeith Thompson
  ||   |  | `- Re: on Perlcandycanearter07
  ||   |  `* Re: on PerlLawrence D'Oliveiro
  ||   |   `- Re: on PerlDavid Brown
  ||   `* Re: on PerlDavid Brown
  ||    `* Re: on Perlcandycanearter07
  ||     `- Re: on PerlDavid Brown
  |`- Re: on PerlStefan Ram
  `* Re: on PerlJavier
   `* Re: on PerlLawrence D'Oliveiro
    `* Re: on PerlBen Bacarisse
     `* Re: on PerlLawrence D'Oliveiro
      `* Re: on PerlKeith Thompson
       `* Re: on PerlLawrence D'Oliveiro
        `- Re: on PerlRainer Weikusat

Pages:1234
Subject: Re: on Perl
From: David Brown
Newsgroups: comp.unix.programmer, comp.lang.misc, comp.unix.shell
Organization: A noiseless patient Spider
Date: Wed, 17 Apr 2024 19:52 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.brown@hesbynett.no (David Brown)
Newsgroups: comp.unix.programmer,comp.lang.misc,comp.unix.shell
Subject: Re: on Perl
Date: Wed, 17 Apr 2024 21:52:06 +0200
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <uvp996$1p6tk$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <87edbtz43p.fsf@tudado.org>
<0d2cnVzOmbD6f4z7nZ2dnZfqnPudnZ2d@brightview.co.uk>
<20240408075547.000061e8@gmail.com>
<g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
<uvbe3m$2cun7$1@dont-email.me>
<Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk>
<pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid>
<uvk8o6$h2pg$3@dont-email.me> <20240415152951.000079ab@gmail.com>
<uvkbec$hjeq$1@dont-email.me> <uvlc1f$rgng$1@dont-email.me>
<slrnv1smf9.25p4.naddy@lorvorc.mips.inka.de> <uvlp8g$u62e$1@dont-email.me>
<87wmowv9fy.fsf@eder.anydns.info> <20240417080523.00005e99@gmail.com>
<uvp6gv$1onkq$1@dont-email.me> <20240417121909.000039a3@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 17 Apr 2024 21:52:06 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="ded58e4cc07a01052eb77b0d10736691";
logging-data="1874868"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/dYTjihgNtGoHLoDCwM5i15rO0DSqA6ok="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:pkbDSvoqGAuPJrkQq5HryB208eA=
Content-Language: en-GB
In-Reply-To: <20240417121909.000039a3@gmail.com>
View all headers

On 17/04/2024 21:19, John Ames wrote:
> On Wed, 17 Apr 2024 21:05:03 +0200
> David Brown <david.brown@hesbynett.no> wrote:
>
>> Another thing about Forth is that it gives C a run for its money in
>> potential for obfuscation :
>>
>> : 1 2 ;
>> 1 1 + .
>>
>> Redefine "1". That'll keep the reader on his/her toes!
>
> Redefinitions *stack,* too, so "foo" can mean multiple completely
> different things in different contexts depending on which definition
> was current at the time.
>
> : foo 2 * ;
> : double foo ;
> 3 foo .
>
> : foo 1 + ;
> 3 foo .
> 3 double .
>
> Genuine Forth-heads do staggering things (implementing OOP, etc.) with
> this; personally, it gives *me* the willies.
>

That's why mastering Forth takes a lot longer than just learning the
language!

I think that when finding the definition of a word, Forth just searches
back through the stack of definitions until it gets a hit. And if that
word definition uses other non-primitive words, it goes backwards from
where it currently is, looking only at definitions from before the
current word was defined. Is that right? And if so, can you do
"forward declarations", and mutual recursion somehow?

(I guess this is getting way off-topic for comp.unix.shell, and pretty
questionable for comp.unix.programmer - I don't know how much the
regulars there try to stay on-topic, or if they like threads like this.
I'll happily remove those groups from posts if there is objection to it,
but I don't want to cut out people who are interested if they want the
posts there.)

Subject: Re: on Perl
From: John Ames
Newsgroups: comp.unix.programmer, comp.lang.misc, comp.unix.shell
Organization: A noiseless patient Spider
Date: Wed, 17 Apr 2024 20:39 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: commodorejohn@gmail.com (John Ames)
Newsgroups: comp.unix.programmer,comp.lang.misc,comp.unix.shell
Subject: Re: on Perl
Date: Wed, 17 Apr 2024 13:39:55 -0700
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <20240417133955.00004d23@gmail.com>
References: <uu54la$3su5b$6@dont-email.me>
<87edbtz43p.fsf@tudado.org>
<0d2cnVzOmbD6f4z7nZ2dnZfqnPudnZ2d@brightview.co.uk>
<20240408075547.000061e8@gmail.com>
<g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
<uvbe3m$2cun7$1@dont-email.me>
<Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk>
<pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid>
<uvk8o6$h2pg$3@dont-email.me>
<20240415152951.000079ab@gmail.com>
<uvkbec$hjeq$1@dont-email.me>
<uvlc1f$rgng$1@dont-email.me>
<slrnv1smf9.25p4.naddy@lorvorc.mips.inka.de>
<uvlp8g$u62e$1@dont-email.me>
<87wmowv9fy.fsf@eder.anydns.info>
<20240417080523.00005e99@gmail.com>
<uvp6gv$1onkq$1@dont-email.me>
<20240417121909.000039a3@gmail.com>
<uvp996$1p6tk$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 17 Apr 2024 22:39:58 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7a885d53952e506d4bfe7e1038b86033";
logging-data="1879868"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+vUwlWWxCMNdkZKAKdTodOMep5M1AeVlQ="
Cancel-Lock: sha1:bXxdhIcS7BO/Kbu6I1AuEyMDTLk=
X-Newsreader: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-w64-mingw32)
View all headers

On Wed, 17 Apr 2024 21:52:06 +0200
David Brown <david.brown@hesbynett.no> wrote:

> I think that when finding the definition of a word, Forth just
> searches back through the stack of definitions until it gets a hit.
> And if that word definition uses other non-primitive words, it goes
> backwards from where it currently is, looking only at definitions
> from before the current word was defined. Is that right? And if so,
> can you do "forward declarations", and mutual recursion somehow?

That's my understanding, yes; essentially, it's a consequence of the
fact that definitions are stored as a list of pointers, and re-
definitions are simply appended to the dictionary without going back
through the rest of it to update any pointers to the prior definition.
A strange design choice, but they're consistent with it.

Forward declarations are possible using the CREATE ... DOES> construct,
which creates a definition that invokes a function pointer which can be
changed later. I dunno about mutual recursion, but it wouldn't shock me
if the same trick could be applied for that.

(And yes, if we ought to pare this back to comp.lang.misc we certainly
can.)

Subject: Re: on Perl
From: D
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: i2pn2 (i2pn.org)
Date: Wed, 17 Apr 2024 21:05 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: nospam@example.net (D)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: on Perl
Date: Wed, 17 Apr 2024 23:05:34 +0200
Organization: i2pn2 (i2pn.org)
Message-ID: <730cdd1d-724e-bd89-9487-92b35104a154@example.net>
References: <uu54la$3su5b$6@dont-email.me> <20240408075547.000061e8@gmail.com> <g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk> <uvbe3m$2cun7$1@dont-email.me> <Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk> <pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid>
<uvk8o6$h2pg$3@dont-email.me> <20240415152951.000079ab@gmail.com> <uvkbec$hjeq$1@dont-email.me> <uvlc1f$rgng$1@dont-email.me> <slrnv1smf9.25p4.naddy@lorvorc.mips.inka.de> <uvm35m$10egq$1@dont-email.me> <EpwTN.247849$zF_1.119459@fx18.iad> <uvm5bp$10uuu$1@dont-email.me>
<uvm69k$1154r$1@dont-email.me> <uvm6b5$116e9$1@dont-email.me> <20240416084923.00005c8a@gmail.com> <uvm6pg$119gi$1@dont-email.me> <20240416085912.00001a9b@gmail.com> <uvm82d$11io2$1@dont-email.me> <20240416091813.00003dd8@gmail.com> <uvo0s3$1ga3v$1@dont-email.me>
<20240417075943.00006cb4@gmail.com> <uvosih$1mltt$1@dont-email.me> <20240417095512.00007ccc@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Injection-Info: i2pn2.org;
logging-data="1493593"; mail-complaints-to="usenet@i2pn2.org";
posting-account="w/4CleFT0XZ6XfSuRJzIySLIA6ECskkHxKUAYDZM66M";
X-Spam-Checker-Version: SpamAssassin 4.0.0
In-Reply-To: <20240417095512.00007ccc@gmail.com>
View all headers

On Wed, 17 Apr 2024, John Ames wrote:

> On Wed, 17 Apr 2024 16:15:14 -0000 (UTC)
> Muttley@dastardlyhq.com wrote:
>
>>> (it means i am engaging in what is nominally a gesture of respect in
>>> a mocking way, so as to indicate that your pompous demands for
>>> respect are being deliberately ignored)
>>
>> Wasn't a demand for respect, just making a point about serious
>> applications and the languages used for them. Games arn't serious.
>
> Your definition of "serious applications" seems to coincide pretty
> substantially with "fields I, personally, have worked in," particularly
> since you've conveniently ignored the passel of non-game applications
> that have also been cited in order to focus on the one you feel most
> prepared to trivialize and discount in pursuance of your "argument."
> And in addition to habitually slagging on applications and tools you
> don't consider "serious" for no particular reason and with zero
> provocation, you name-call like a grade-schooler. So it's difficult
> *not* to parse your overall behavior as simian chest-thumping and
> expecting to be treated as Le Fromage Grande on the basis of standards
> conveniently set by yourself.
>
>> Have another go aspie.
>
> Case in point. But for the sake of argument, let's review:
>
> Person: "This thing exists."
> Muttley: "Nobody uses that."
> People: "Here's all these things that use that."
> Muttley: "Those don't count."
> People: "Come again?"
> Muttley: "They're not serious."
> People: "What's your definition of 'serious' here?"
> Muttley: "Things that I've worked on."
> People: "...Um."
> Muttley: "Also you're a poopiehead."

Sorry Muttley, I have to give this one to John. His argument is flawless
and spot on.

Subject: Re: on Perl
From: Lawrence D'Oliv
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc, comp.lang.perl.misc
Organization: A noiseless patient Spider
Date: Wed, 17 Apr 2024 23:23 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc,comp.lang.perl.misc
Subject: Re: on Perl
Date: Wed, 17 Apr 2024 23:23:59 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <uvplme$1rupi$2@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <87edbtz43p.fsf@tudado.org>
<0d2cnVzOmbD6f4z7nZ2dnZfqnPudnZ2d@brightview.co.uk>
<20240408075547.000061e8@gmail.com>
<g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
<uvbe3m$2cun7$1@dont-email.me>
<Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk>
<pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid>
<uvk8o6$h2pg$3@dont-email.me>
<dRicnfsW0phufoP7nZ2dnZfqnPednZ2d@brightview.co.uk>
<uvnerd$1ct1p$1@dont-email.me> <87jzkvor7q.fsf@bsb.me.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 18 Apr 2024 01:23:59 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="ec6fcf3bb75b95711759fde7cd91a1dc";
logging-data="1964850"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19N70JEPQQxxl7nM6splTo0"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:Brkna0nP0fpY1Dvq2x7+a1faJL0=
View all headers

On Wed, 17 Apr 2024 18:04:57 +0100, Ben Bacarisse wrote:

> Perl has had support for object-oriented programming (with multiple
> inheritance) for many years -- too many for me to remember.

Then why this new “class” thing in 5.38?

Subject: Re: on Perl
From: Keith Thompson
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc, comp.lang.perl.misc
Organization: None to speak of
Date: Wed, 17 Apr 2024 23:59 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S.Thompson+u@gmail.com (Keith Thompson)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc,comp.lang.perl.misc
Subject: Re: on Perl
Date: Wed, 17 Apr 2024 16:59:06 -0700
Organization: None to speak of
Lines: 27
Message-ID: <87le5br16d.fsf@nosuchdomain.example.com>
References: <uu54la$3su5b$6@dont-email.me> <87edbtz43p.fsf@tudado.org>
<0d2cnVzOmbD6f4z7nZ2dnZfqnPudnZ2d@brightview.co.uk>
<20240408075547.000061e8@gmail.com>
<g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
<uvbe3m$2cun7$1@dont-email.me>
<Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk>
<pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid>
<uvk8o6$h2pg$3@dont-email.me>
<dRicnfsW0phufoP7nZ2dnZfqnPednZ2d@brightview.co.uk>
<uvnerd$1ct1p$1@dont-email.me> <87jzkvor7q.fsf@bsb.me.uk>
<uvplme$1rupi$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 18 Apr 2024 01:59:08 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="79ba507064daf9a3a41c021f3f9a882b";
logging-data="1974567"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/xx3/3r+kBHlWec57yFlV5"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:qA28PsXkIXxs5u1j0LOIwhM3ODY=
sha1:jJ1PDBsVgD8tLBTVSo8nYoVP6GQ=
View all headers

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
> On Wed, 17 Apr 2024 18:04:57 +0100, Ben Bacarisse wrote:
>> Perl has had support for object-oriented programming (with multiple
>> inheritance) for many years -- too many for me to remember.
>
> Then why this new “class” thing in 5.38?

It's explained reasonably well at the top of the "perldoc perlclass"
documentation in Perl 5.38:

History
Since Perl 5, support for objects revolved around the concept of
*blessing* references with a package name. Such reference could then be
used to call subroutines from the package it was blessed with (or any of
its parents). This system, while bare-bones, was flexible enough to
allow creation of multiple more advanced, community-driven systems for
object orientation.

Class feature is a core implementation of class syntax which is familiar
to what one would find in other programming languages. It isn't a
"bless" wrapper, but a completely new system built right into the perl
interpreter.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Medtronic
void Void(void) { Void(); } /* The recursive call of the void */

Subject: Re: on Perl
From: Lawrence D'Oliv
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc, comp.lang.perl.misc
Organization: A noiseless patient Spider
Date: Thu, 18 Apr 2024 01:33 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc,comp.lang.perl.misc
Subject: Re: on Perl
Date: Thu, 18 Apr 2024 01:33:42 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <uvpt9m$2126r$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <87edbtz43p.fsf@tudado.org>
<0d2cnVzOmbD6f4z7nZ2dnZfqnPudnZ2d@brightview.co.uk>
<20240408075547.000061e8@gmail.com>
<g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
<uvbe3m$2cun7$1@dont-email.me>
<Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk>
<pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid>
<uvk8o6$h2pg$3@dont-email.me>
<dRicnfsW0phufoP7nZ2dnZfqnPednZ2d@brightview.co.uk>
<uvnerd$1ct1p$1@dont-email.me> <87jzkvor7q.fsf@bsb.me.uk>
<uvplme$1rupi$2@dont-email.me> <87le5br16d.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 18 Apr 2024 03:33:43 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="ec6fcf3bb75b95711759fde7cd91a1dc";
logging-data="2132187"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+C9CB86pX2qbskVFiY0fMr"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:MRswq89Z0CAwnAw6Z95cEkLsnjw=
View all headers

On Wed, 17 Apr 2024 16:59:06 -0700, Keith Thompson wrote:

> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>>
>> On Wed, 17 Apr 2024 18:04:57 +0100, Ben Bacarisse wrote:
>>>
>>> Perl has had support for object-oriented programming (with multiple
>>> inheritance) for many years -- too many for me to remember.
>>
>> Then why this new “class” thing in 5.38?
>
> It's explained reasonably well at the top of the "perldoc perlclass"
> documentation in Perl 5.38:

It says there is already supposed to be a mechanism for this, it doesn’t
explain why that isn’t good enough.

Subject: Re: on Perl
From: Kaz Kylheku
Newsgroups: comp.unix.programmer, comp.lang.misc, comp.unix.shell
Organization: A noiseless patient Spider
Date: Thu, 18 Apr 2024 04:18 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 643-408-1753@kylheku.com (Kaz Kylheku)
Newsgroups: comp.unix.programmer,comp.lang.misc,comp.unix.shell
Subject: Re: on Perl
Date: Thu, 18 Apr 2024 04:18:48 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <20240417211356.581@kylheku.com>
References: <uu54la$3su5b$6@dont-email.me> <87edbtz43p.fsf@tudado.org>
<0d2cnVzOmbD6f4z7nZ2dnZfqnPudnZ2d@brightview.co.uk>
<20240408075547.000061e8@gmail.com>
<g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
<uvbe3m$2cun7$1@dont-email.me>
<Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk>
<pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid>
<uvk8o6$h2pg$3@dont-email.me> <20240415152951.000079ab@gmail.com>
<uvkbec$hjeq$1@dont-email.me> <uvlc1f$rgng$1@dont-email.me>
<slrnv1smf9.25p4.naddy@lorvorc.mips.inka.de> <uvlp8g$u62e$1@dont-email.me>
<87wmowv9fy.fsf@eder.anydns.info> <20240417080523.00005e99@gmail.com>
<uvp6gv$1onkq$1@dont-email.me> <20240417121909.000039a3@gmail.com>
<uvp996$1p6tk$1@dont-email.me> <20240417133955.00004d23@gmail.com>
Injection-Date: Thu, 18 Apr 2024 06:18:48 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="57a4092e45ca3964de208c71da785f21";
logging-data="2188528"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+0G1l36LjKosYuc2RQ0wAyEMuGFqbkiVw="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:K2Na5Q1paQt0orDLeh44XpQ8gwY=
View all headers

On 2024-04-17, John Ames <commodorejohn@gmail.com> wrote:
> On Wed, 17 Apr 2024 21:52:06 +0200
> David Brown <david.brown@hesbynett.no> wrote:
>
>> I think that when finding the definition of a word, Forth just
>> searches back through the stack of definitions until it gets a hit.
>> And if that word definition uses other non-primitive words, it goes
>> backwards from where it currently is, looking only at definitions
>> from before the current word was defined. Is that right? And if so,
>> can you do "forward declarations", and mutual recursion somehow?
>
> That's my understanding, yes; essentially, it's a consequence of the
> fact that definitions are stored as a list of pointers, and re-
> definitions are simply appended to the dictionary without going back
> through the rest of it to update any pointers to the prior definition.
> A strange design choice, but they're consistent with it.

I don't know at all whether Forth does this or not, but this design
choice allows the list to be restored to a prior state, whereby the
recent definitions are forgotten, and the old ones revealed again,
similarly to shadowed lexicals being revealed again upon the terminaton
of an inner scope.

It sounds reminiscent of the assoc list representation of the lexical
environment in a rudimentary Lisp interpreter.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Subject: Re: on Perl
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Thu, 18 Apr 2024 07:33 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: on Perl
Date: Thu, 18 Apr 2024 07:33:14 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <uvqibq$2526v$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me>
<20240408075547.000061e8@gmail.com>
<g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
<uvbe3m$2cun7$1@dont-email.me>
<Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk>
<pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid>
<uvk8o6$h2pg$3@dont-email.me>
<20240415152951.000079ab@gmail.com>
<uvkbec$hjeq$1@dont-email.me>
<uvlc1f$rgng$1@dont-email.me>
<slrnv1smf9.25p4.naddy@lorvorc.mips.inka.de>
<uvm35m$10egq$1@dont-email.me>
<EpwTN.247849$zF_1.119459@fx18.iad>
<uvm5bp$10uuu$1@dont-email.me>
<uvm69k$1154r$1@dont-email.me>
<uvm6b5$116e9$1@dont-email.me>
<20240416084923.00005c8a@gmail.com>
<uvm6pg$119gi$1@dont-email.me>
<20240416085912.00001a9b@gmail.com>
<uvm82d$11io2$1@dont-email.me>
<20240416091813.00003dd8@gmail.com>
<uvo0s3$1ga3v$1@dont-email.me>
<20240417075943.00006cb4@gmail.com>
<uvosih$1mltt$1@dont-email.me>
<20240417095512.00007ccc@gmail.com>
Injection-Date: Thu, 18 Apr 2024 09:33:15 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="79185dff84c7d84a4e8d51bdf5300b22";
logging-data="2263263"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19KCx8cqgAT247OE5F4wFX8"
Cancel-Lock: sha1:Zb0s7TIJmJTqDxBGMJ3TgmLfBBs=
View all headers

On Wed, 17 Apr 2024 09:55:12 -0700
John Ames <commodorejohn@gmail.com> wrote:
>On Wed, 17 Apr 2024 16:15:14 -0000 (UTC)
>Muttley@dastardlyhq.com wrote:
>
>> >(it means i am engaging in what is nominally a gesture of respect in
>> >a mocking way, so as to indicate that your pompous demands for
>> >respect are being deliberately ignored)
>>
>> Wasn't a demand for respect, just making a point about serious
>> applications and the languages used for them. Games arn't serious.
>
>Your definition of "serious applications" seems to coincide pretty
>substantially with "fields I, personally, have worked in," particularly

There are plenty of fields I haven't worked in that I would also consider
serious eg agriculture, automotive, energy.

Games arn't on that list.

>provocation, you name-call like a grade-schooler. So it's difficult

I simply descended to the level that the argument had been brought to so
don't complain.

>Muttley: "Also you're a poopiehead."

Are you expecting to be taken seriously?

Subject: Re: on Perl
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Thu, 18 Apr 2024 07:35 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: on Perl
Date: Thu, 18 Apr 2024 07:35:08 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <uvqifb$252rg$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <20240408075547.000061e8@gmail.com> <g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk> <uvbe3m$2cun7$1@dont-email.me> <Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk> <pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid>
<uvk8o6$h2pg$3@dont-email.me> <20240415152951.000079ab@gmail.com> <uvkbec$hjeq$1@dont-email.me> <uvlc1f$rgng$1@dont-email.me> <slrnv1smf9.25p4.naddy@lorvorc.mips.inka.de> <uvm35m$10egq$1@dont-email.me> <EpwTN.247849$zF_1.119459@fx18.iad> <uvm5bp$10uuu$1@dont-email.me>
<uvm69k$1154r$1@dont-email.me> <uvm6b5$116e9$1@dont-email.me> <20240416084923.00005c8a@gmail.com> <uvm6pg$119gi$1@dont-email.me> <20240416085912.00001a9b@gmail.com> <uvm82d$11io2$1@dont-email.me> <20240416091813.00003dd8@gmail.com> <uvo0s3$1ga3v$1@dont-email.me>
<20240417075943.00006cb4@gmail.com> <uvosih$1mltt$1@dont-email.me> <20240417095512.00007ccc@gmail.com>
<730cdd1d-724e-bd89-9487-92b35104a154@example.net>
Injection-Date: Thu, 18 Apr 2024 09:35:08 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="79185dff84c7d84a4e8d51bdf5300b22";
logging-data="2263920"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/MEBYjP/GMpQDPGxQhRI3n"
Cancel-Lock: sha1:2Dr14vpv3A8a331OvAFiY5G5UzE=
View all headers

On Wed, 17 Apr 2024 23:05:34 +0200
D <nospam@example.net> wrote:
>Sorry Muttley, I have to give this one to John. His argument is flawless
>and spot on.

Says a sock puppet who's never posted before. Nice try John.

Subject: Re: On Stack-Based Languages (was Re: on Perl)
From: Lawrence D'Oliv
Newsgroups: comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Thu, 18 Apr 2024 07:55 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.unix.programmer, comp.lang.misc
Subject: Re: On Stack-Based Languages (was Re: on Perl)
Date: Thu, 18 Apr 2024 07:55:42 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 59
Message-ID: <uvqjlu$257pa$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <87edbtz43p.fsf@tudado.org>
<0d2cnVzOmbD6f4z7nZ2dnZfqnPudnZ2d@brightview.co.uk>
<20240408075547.000061e8@gmail.com>
<g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
<uvbe3m$2cun7$1@dont-email.me>
<Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk>
<pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid>
<uvk8o6$h2pg$3@dont-email.me> <20240415152951.000079ab@gmail.com>
<uvkbec$hjeq$1@dont-email.me> <uvlc1f$rgng$1@dont-email.me>
<slrnv1smf9.25p4.naddy@lorvorc.mips.inka.de> <uvlp8g$u62e$1@dont-email.me>
<87wmowv9fy.fsf@eder.anydns.info> <20240417080523.00005e99@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 18 Apr 2024 09:55:42 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="e0bbc97582f840a25b6ae44a96748375";
logging-data="2268970"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/YqkxxL3EgISE42t/jwUlA"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:PMHcDEjIWv3Ro9m+qYfVfW8k6qg=
View all headers

On Wed, 17 Apr 2024 08:05:23 -0700, John Ames wrote:

> *Syntactically* it's very simple, but explicit stack-orientation with
> reverse-Polish notation is a *very* different programming paradigm than
> practically everything else out there ...

The only really tricky part of stack-based programming is keeping track of
what’s on the stack.

I did some messing about with a reboot of PostScript which tried to add
some niceties, like stack guards and lexical binding. Here’s an example of
the sort of thing I was able to get working (“ddef” and “dstore” define
and assign to dynamically-bound variables, while “ldef” and “lstore”
correspondingly work on lexically-bound ones):

/Count 99 ddef

/metatry
{ % provides context for nonlocals
dup
/Name exch ldef
/Count 0 ldef
{ % actual proc
/Count dup lload 1 add lstore
/Count dup dload 1 add dstore
Name =
(local Count = ) print /Count lload =
(global Count = ) print /Count dload =
(whichever Count = ) print Count =
}
}
ddef

/try1 metatry ddef
/try2 metatry ddef

try1
try2
try1
try2

Output:

try1
local Count = 1
global Count = 100
whichever Count = 1
try2
local Count = 1
global Count = 101
whichever Count = 1
try1
local Count = 2
global Count = 102
whichever Count = 2
try2
local Count = 2
global Count = 103
whichever Count = 2

Subject: Re: on Perl
From: David Brown
Newsgroups: comp.unix.programmer, comp.lang.misc, comp.unix.shell
Organization: A noiseless patient Spider
Date: Thu, 18 Apr 2024 08:30 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.brown@hesbynett.no (David Brown)
Newsgroups: comp.unix.programmer,comp.lang.misc,comp.unix.shell
Subject: Re: on Perl
Date: Thu, 18 Apr 2024 10:30:49 +0200
Organization: A noiseless patient Spider
Lines: 42
Message-ID: <uvqlnp$25k0u$2@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <87edbtz43p.fsf@tudado.org>
<0d2cnVzOmbD6f4z7nZ2dnZfqnPudnZ2d@brightview.co.uk>
<20240408075547.000061e8@gmail.com>
<g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
<uvbe3m$2cun7$1@dont-email.me>
<Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk>
<pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid>
<uvk8o6$h2pg$3@dont-email.me> <20240415152951.000079ab@gmail.com>
<uvkbec$hjeq$1@dont-email.me> <uvlc1f$rgng$1@dont-email.me>
<slrnv1smf9.25p4.naddy@lorvorc.mips.inka.de> <uvlp8g$u62e$1@dont-email.me>
<87wmowv9fy.fsf@eder.anydns.info> <20240417080523.00005e99@gmail.com>
<uvp6gv$1onkq$1@dont-email.me> <20240417121909.000039a3@gmail.com>
<uvp996$1p6tk$1@dont-email.me> <20240417133955.00004d23@gmail.com>
<20240417211356.581@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 18 Apr 2024 10:30:50 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="a0080b8d6f1ecc9cfec5050a64ed5ac7";
logging-data="2281502"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19W9Dyo3Qw6JyvGH01G7QM3gYRVwYtvTiY="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:JSBylXVfe/eaLspLQHo8vHDnvCw=
In-Reply-To: <20240417211356.581@kylheku.com>
Content-Language: en-GB
View all headers

On 18/04/2024 06:18, Kaz Kylheku wrote:
> On 2024-04-17, John Ames <commodorejohn@gmail.com> wrote:
>> On Wed, 17 Apr 2024 21:52:06 +0200
>> David Brown <david.brown@hesbynett.no> wrote:
>>
>>> I think that when finding the definition of a word, Forth just
>>> searches back through the stack of definitions until it gets a hit.
>>> And if that word definition uses other non-primitive words, it goes
>>> backwards from where it currently is, looking only at definitions
>>> from before the current word was defined. Is that right? And if so,
>>> can you do "forward declarations", and mutual recursion somehow?
>>
>> That's my understanding, yes; essentially, it's a consequence of the
>> fact that definitions are stored as a list of pointers, and re-
>> definitions are simply appended to the dictionary without going back
>> through the rest of it to update any pointers to the prior definition.
>> A strange design choice, but they're consistent with it.
>
> I don't know at all whether Forth does this or not, but this design
> choice allows the list to be restored to a prior state, whereby the
> recent definitions are forgotten, and the old ones revealed again,
> similarly to shadowed lexicals being revealed again upon the terminaton
> of an inner scope.
>

I suppose it also makes it a great deal easier to have small local
functions. Forth programming, as I understand it (I've only done very
small tests in Forth - I've never written a "real" program) generally
involves breaking code down into very small pieces. So your
implementation of "foo" might involve defining words like "get_next",
"double", "set_x", or whatever. (In Forth style these would probably be
shorter names, and perhaps include symbols.) Your implementation of
"bar" might want to re-use these same names but with different
definitions. With the list of pointers design of Forth, you can just
redefine these "local" words as you need to, and ignore any previous
definitions.

> It sounds reminiscent of the assoc list representation of the lexical
> environment in a rudimentary Lisp interpreter.
>

Subject: Re: on Perl
From: Lawrence D'Oliv
Newsgroups: comp.unix.programmer, comp.lang.misc, comp.unix.shell
Organization: A noiseless patient Spider
Date: Thu, 18 Apr 2024 08:36 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.unix.programmer,comp.lang.misc,comp.unix.shell
Subject: Re: on Perl
Date: Thu, 18 Apr 2024 08:36:13 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <uvqm1t$25pds$2@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <87edbtz43p.fsf@tudado.org>
<0d2cnVzOmbD6f4z7nZ2dnZfqnPudnZ2d@brightview.co.uk>
<20240408075547.000061e8@gmail.com>
<g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
<uvbe3m$2cun7$1@dont-email.me>
<Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk>
<pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid>
<uvk8o6$h2pg$3@dont-email.me> <20240415152951.000079ab@gmail.com>
<uvkbec$hjeq$1@dont-email.me> <uvlc1f$rgng$1@dont-email.me>
<slrnv1smf9.25p4.naddy@lorvorc.mips.inka.de> <uvlp8g$u62e$1@dont-email.me>
<87wmowv9fy.fsf@eder.anydns.info> <20240417080523.00005e99@gmail.com>
<uvp6gv$1onkq$1@dont-email.me> <20240417121909.000039a3@gmail.com>
<uvp996$1p6tk$1@dont-email.me> <20240417133955.00004d23@gmail.com>
<20240417211356.581@kylheku.com> <uvqlnp$25k0u$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 18 Apr 2024 10:36:13 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="e0bbc97582f840a25b6ae44a96748375";
logging-data="2287036"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+SGRBOBNU1+9qHU99YTX72"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:a/OwU0KDhychTfd9sSNR6nsQ5RI=
View all headers

On Thu, 18 Apr 2024 10:30:49 +0200, David Brown wrote:

> With the list of pointers design of Forth, you can just
> redefine these "local" words as you need to, and ignore any previous
> definitions.

So, they reinvented local variables, and thought it was some great
innovation ...

Subject: Re: On Stack-Based Languages (was Re: on Perl)
From: David Brown
Newsgroups: comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Thu, 18 Apr 2024 08:37 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.brown@hesbynett.no (David Brown)
Newsgroups: comp.unix.programmer,comp.lang.misc
Subject: Re: On Stack-Based Languages (was Re: on Perl)
Date: Thu, 18 Apr 2024 10:37:47 +0200
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <uvqm4r$25k0u$3@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <87edbtz43p.fsf@tudado.org>
<0d2cnVzOmbD6f4z7nZ2dnZfqnPudnZ2d@brightview.co.uk>
<20240408075547.000061e8@gmail.com>
<g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
<uvbe3m$2cun7$1@dont-email.me>
<Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk>
<pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid>
<uvk8o6$h2pg$3@dont-email.me> <20240415152951.000079ab@gmail.com>
<uvkbec$hjeq$1@dont-email.me> <uvlc1f$rgng$1@dont-email.me>
<slrnv1smf9.25p4.naddy@lorvorc.mips.inka.de> <uvlp8g$u62e$1@dont-email.me>
<87wmowv9fy.fsf@eder.anydns.info> <20240417080523.00005e99@gmail.com>
<uvqjlu$257pa$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 18 Apr 2024 10:37:47 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="a0080b8d6f1ecc9cfec5050a64ed5ac7";
logging-data="2281502"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/nmtKZkxQy0dPttQW2VjxnMSYpQ29sdPw="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:of4pEzub9kJediHsDURzwwlrqGc=
Content-Language: en-GB
In-Reply-To: <uvqjlu$257pa$1@dont-email.me>
View all headers

On 18/04/2024 09:55, Lawrence D'Oliveiro wrote:
> On Wed, 17 Apr 2024 08:05:23 -0700, John Ames wrote:
>
>> *Syntactically* it's very simple, but explicit stack-orientation with
>> reverse-Polish notation is a *very* different programming paradigm than
>> practically everything else out there ...
>
> The only really tricky part of stack-based programming is keeping track of
> what’s on the stack.
>
> I did some messing about with a reboot of PostScript which tried to add
> some niceties, like stack guards and lexical binding. Here’s an example of
> the sort of thing I was able to get working (“ddef” and “dstore” define
> and assign to dynamically-bound variables, while “ldef” and “lstore”
> correspondingly work on lexically-bound ones):
>

I think I have only ever heard of one person who actually uses
PostScript for programming by hand, rather than as a print output
format. That is Don Lancaster, an electronics engineer who is a big fan
of "magic sines" (binary strings with low harmonics) and does all his
coding in PostScript. Anyone wanting to see a significant library of
PostScript code might be interested.

<https://www.tinaja.com/magsn01.shtml>

Subject: Re: On Stack-Based Languages (was Re: on Perl)
From: Lawrence D'Oliv
Newsgroups: comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Thu, 18 Apr 2024 08:44 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.unix.programmer,comp.lang.misc
Subject: Re: On Stack-Based Languages (was Re: on Perl)
Date: Thu, 18 Apr 2024 08:44:44 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <uvqmhs$25pds$3@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <87edbtz43p.fsf@tudado.org>
<0d2cnVzOmbD6f4z7nZ2dnZfqnPudnZ2d@brightview.co.uk>
<20240408075547.000061e8@gmail.com>
<g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
<uvbe3m$2cun7$1@dont-email.me>
<Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk>
<pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid>
<uvk8o6$h2pg$3@dont-email.me> <20240415152951.000079ab@gmail.com>
<uvkbec$hjeq$1@dont-email.me> <uvlc1f$rgng$1@dont-email.me>
<slrnv1smf9.25p4.naddy@lorvorc.mips.inka.de> <uvlp8g$u62e$1@dont-email.me>
<87wmowv9fy.fsf@eder.anydns.info> <20240417080523.00005e99@gmail.com>
<uvqjlu$257pa$1@dont-email.me> <uvqm4r$25k0u$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 18 Apr 2024 10:44:45 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="e0bbc97582f840a25b6ae44a96748375";
logging-data="2287036"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ksLsSTwkWGgHuF2Ytm/FE"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:Cz+BGt9kTAWTEnX39GitOfc6RqU=
View all headers

On Thu, 18 Apr 2024 10:37:47 +0200, David Brown wrote:

> I think I have only ever heard of one person who actually uses
> PostScript for programming by hand, rather than as a print output
> format. That is Don Lancaster ...

I know, I have seen his site.

The PostScript graphics model has long been superseded by worthy
successors, like Cairo. I did my own Python binding for Cairo
<https://gitlab.com/ldo/qahirah>, which adds things like vectors, matrices
and colours as first-class objects--beyond what Cairo itself, as a C-
language-based library, can do.

What I am interested in here is the PostScript language itself, and how it
can be modernized.

Subject: Re: on Perl
From: D
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: i2pn2 (i2pn.org)
Date: Thu, 18 Apr 2024 09:28 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: nospam@example.net (D)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: on Perl
Date: Thu, 18 Apr 2024 11:28:38 +0200
Organization: i2pn2 (i2pn.org)
Message-ID: <2b148bc9-000f-13a0-b7fc-ab09c07cf446@example.net>
References: <uu54la$3su5b$6@dont-email.me> <g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk> <uvbe3m$2cun7$1@dont-email.me> <Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk> <pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid> <uvk8o6$h2pg$3@dont-email.me>
<20240415152951.000079ab@gmail.com> <uvkbec$hjeq$1@dont-email.me> <uvlc1f$rgng$1@dont-email.me> <slrnv1smf9.25p4.naddy@lorvorc.mips.inka.de> <uvm35m$10egq$1@dont-email.me> <EpwTN.247849$zF_1.119459@fx18.iad> <uvm5bp$10uuu$1@dont-email.me> <uvm69k$1154r$1@dont-email.me>
<uvm6b5$116e9$1@dont-email.me> <20240416084923.00005c8a@gmail.com> <uvm6pg$119gi$1@dont-email.me> <20240416085912.00001a9b@gmail.com> <uvm82d$11io2$1@dont-email.me> <20240416091813.00003dd8@gmail.com> <uvo0s3$1ga3v$1@dont-email.me> <20240417075943.00006cb4@gmail.com>
<uvosih$1mltt$1@dont-email.me> <20240417095512.00007ccc@gmail.com> <730cdd1d-724e-bd89-9487-92b35104a154@example.net> <uvqifb$252rg$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Injection-Info: i2pn2.org;
logging-data="1544803"; mail-complaints-to="usenet@i2pn2.org";
posting-account="w/4CleFT0XZ6XfSuRJzIySLIA6ECskkHxKUAYDZM66M";
X-Spam-Checker-Version: SpamAssassin 4.0.0
In-Reply-To: <uvqifb$252rg$1@dont-email.me>
View all headers

On Thu, 18 Apr 2024, Muttley@dastardlyhq.com wrote:

> On Wed, 17 Apr 2024 23:05:34 +0200
> D <nospam@example.net> wrote:
>> Sorry Muttley, I have to give this one to John. His argument is flawless
>> and spot on.
>
> Says a sock puppet who's never posted before. Nice try John.

Please keep the jokes coming. I find you most entertaining! =)

Subject: Re: on Perl
From: David Brown
Newsgroups: comp.unix.programmer, comp.lang.misc, comp.unix.shell
Organization: A noiseless patient Spider
Date: Thu, 18 Apr 2024 09:31 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.brown@hesbynett.no (David Brown)
Newsgroups: comp.unix.programmer,comp.lang.misc,comp.unix.shell
Subject: Re: on Perl
Date: Thu, 18 Apr 2024 11:31:16 +0200
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <uvqp94$26en6$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <87edbtz43p.fsf@tudado.org>
<0d2cnVzOmbD6f4z7nZ2dnZfqnPudnZ2d@brightview.co.uk>
<20240408075547.000061e8@gmail.com>
<g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
<uvbe3m$2cun7$1@dont-email.me>
<Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk>
<pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid>
<uvk8o6$h2pg$3@dont-email.me> <20240415152951.000079ab@gmail.com>
<uvkbec$hjeq$1@dont-email.me> <uvlc1f$rgng$1@dont-email.me>
<slrnv1smf9.25p4.naddy@lorvorc.mips.inka.de> <uvlp8g$u62e$1@dont-email.me>
<87wmowv9fy.fsf@eder.anydns.info> <20240417080523.00005e99@gmail.com>
<uvp6gv$1onkq$1@dont-email.me> <20240417121909.000039a3@gmail.com>
<uvp996$1p6tk$1@dont-email.me> <20240417133955.00004d23@gmail.com>
<20240417211356.581@kylheku.com> <uvqlnp$25k0u$2@dont-email.me>
<uvqm1t$25pds$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 18 Apr 2024 11:31:17 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="a0080b8d6f1ecc9cfec5050a64ed5ac7";
logging-data="2308838"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/JoJwgiNTp414UPA0Z00TRzPMe3c/g0m0="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:mz0EBXCx9GFveM3Swjl92pxJeX0=
In-Reply-To: <uvqm1t$25pds$2@dont-email.me>
Content-Language: en-GB
View all headers

On 18/04/2024 10:36, Lawrence D'Oliveiro wrote:
> On Thu, 18 Apr 2024 10:30:49 +0200, David Brown wrote:
>
>> With the list of pointers design of Forth, you can just
>> redefine these "local" words as you need to, and ignore any previous
>> definitions.
>
> So, they reinvented local variables, and thought it was some great
> innovation ...

"word" in Forth terminology is more like "function" in common imperative
languages. (It is not exactly the same, since Forth "words" are much
more flexible - that is both a good thing and a bad thing.)

Subject: Re: On Stack-Based Languages (was Re: on Perl)
From: Anssi Saari
Newsgroups: comp.unix.programmer, comp.lang.misc
Organization: An impatient and LOUD arachnid
Date: Thu, 18 Apr 2024 12:00 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: anssi.saari@usenet.mail.kapsi.fi (Anssi Saari)
Newsgroups: comp.unix.programmer,comp.lang.misc
Subject: Re: On Stack-Based Languages (was Re: on Perl)
Date: Thu, 18 Apr 2024 15:00:20 +0300
Organization: An impatient and LOUD arachnid
Lines: 12
Message-ID: <sm04jbyhodn.fsf@lakka.kapsi.fi>
References: <uu54la$3su5b$6@dont-email.me> <87edbtz43p.fsf@tudado.org>
<0d2cnVzOmbD6f4z7nZ2dnZfqnPudnZ2d@brightview.co.uk>
<20240408075547.000061e8@gmail.com>
<g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
<uvbe3m$2cun7$1@dont-email.me>
<Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk>
<pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid>
<uvk8o6$h2pg$3@dont-email.me> <20240415152951.000079ab@gmail.com>
<uvkbec$hjeq$1@dont-email.me> <uvlc1f$rgng$1@dont-email.me>
<slrnv1smf9.25p4.naddy@lorvorc.mips.inka.de>
<uvlp8g$u62e$1@dont-email.me> <87wmowv9fy.fsf@eder.anydns.info>
<20240417080523.00005e99@gmail.com> <uvqjlu$257pa$1@dont-email.me>
<uvqm4r$25k0u$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Thu, 18 Apr 2024 14:00:22 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="881a967cd01cef3e6ad046fc0c71349a";
logging-data="2366472"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX196eLduDGBYlbELRpTgnx5P"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:7XHZfBo/91ec2/d/xWwFpghTGZs=
sha1:nuZNHf5fWJYFRvRIabfQcKOLOh4=
View all headers

David Brown <david.brown@hesbynett.no> writes:

> I think I have only ever heard of one person who actually uses
> PostScript for programming by hand, rather than as a print output
> format.

I think I got a postscript program from Usenet or somewhere to print CD
covers once upon a time. Never used it though. I think the idea was to
edit track and artist names directly into the code and send it to a
printer.

The author may have been Jamie Zawinski but I'm not sure.

Subject: Re: on Perl
From: candycanearter07
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: the-candyden-of-code
Date: Thu, 18 Apr 2024 15:10 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: candycanearter07@candycanearter07.nomail.afraid (candycanearter07)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: on Perl
Date: Thu, 18 Apr 2024 15:10:04 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 24
Message-ID: <uvrd4b$2am8i$2@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <87edbtz43p.fsf@tudado.org>
<0d2cnVzOmbD6f4z7nZ2dnZfqnPudnZ2d@brightview.co.uk>
<20240408075547.000061e8@gmail.com>
<g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
<uvbe3m$2cun7$1@dont-email.me>
<Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk>
<pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid>
<uvk8o6$h2pg$3@dont-email.me> <20240415152951.000079ab@gmail.com>
<uvkbec$hjeq$1@dont-email.me> <uvlc1f$rgng$1@dont-email.me>
<slrnv1smf9.25p4.naddy@lorvorc.mips.inka.de> <uvm35m$10egq$1@dont-email.me>
<uvo4rc$1h0kl$2@dont-email.me>
Injection-Date: Thu, 18 Apr 2024 17:10:04 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="5b0b1583fb7e97c7fcf46e8761e3ce6d";
logging-data="2447634"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ABNwDXnlDDjbMCDkOFU3yXn80CTkhITgpxbvQChe1Vw=="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:qa8wdlH7vP8i9NR1Zl8jX4ngWIM=
X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]%
b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx
`~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e
ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
View all headers

David Brown <david.brown@hesbynett.no> wrote at 09:30 this Wednesday (GMT):
> On 16/04/2024 16:49, Muttley@dastardlyhq.com wrote:
>> On Tue, 16 Apr 2024 10:58:49 -0000 (UTC)
>> Christian Weisgerber <naddy@mips.inka.de> wrote:
>>> the FreeBSD boot loader, another constrained environment. In the
>>> end Forth proved too unpopular, few people touched it, and it is
>>> being replaced with Lua now.
>>
>> So moving from one language hardly anyone uses to another that hardly anyone
>> uses. You can't deny the consistency.
>>
>
> Lots of people use Lua. It is very popular as a small scripting
> language, and as a language embedded in other programs - you only need
> two or three C source files linked into your code to make Lua available,
> and it's quite easy to expose C functions as Lua functions.
>
> It is extremely popular in gaming - including for player scripting in
> Minecraft.

Minecraft supports player scripting?
--
user <candycane> is generated from /dev/urandom

Subject: Re: on Perl
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Thu, 18 Apr 2024 15:37 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: on Perl
Date: Thu, 18 Apr 2024 15:37:09 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <uvren5$2b1i0$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk> <uvbe3m$2cun7$1@dont-email.me> <Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk> <pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid> <uvk8o6$h2pg$3@dont-email.me>
<20240415152951.000079ab@gmail.com> <uvkbec$hjeq$1@dont-email.me> <uvlc1f$rgng$1@dont-email.me> <slrnv1smf9.25p4.naddy@lorvorc.mips.inka.de> <uvm35m$10egq$1@dont-email.me> <EpwTN.247849$zF_1.119459@fx18.iad> <uvm5bp$10uuu$1@dont-email.me> <uvm69k$1154r$1@dont-email.me>
<uvm6b5$116e9$1@dont-email.me> <20240416084923.00005c8a@gmail.com> <uvm6pg$119gi$1@dont-email.me> <20240416085912.00001a9b@gmail.com> <uvm82d$11io2$1@dont-email.me> <20240416091813.00003dd8@gmail.com> <uvo0s3$1ga3v$1@dont-email.me> <20240417075943.00006cb4@gmail.com>
<uvosih$1mltt$1@dont-email.me> <20240417095512.00007ccc@gmail.com> <730cdd1d-724e-bd89-9487-92b35104a154@example.net> <uvqifb$252rg$1@dont-email.me>
<2b148bc9-000f-13a0-b7fc-ab09c07cf446@example.net>
Injection-Date: Thu, 18 Apr 2024 17:37:09 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="79185dff84c7d84a4e8d51bdf5300b22";
logging-data="2459200"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+2mv08t79QGibHyW7fWCYB"
Cancel-Lock: sha1:jhOBr/1nSk6iFVlWKNt58gFztzU=
View all headers

On Thu, 18 Apr 2024 11:28:38 +0200
D <nospam@example.net> wrote:
>On Thu, 18 Apr 2024, Muttley@dastardlyhq.com wrote:
>
>> On Wed, 17 Apr 2024 23:05:34 +0200
>> D <nospam@example.net> wrote:
>>> Sorry Muttley, I have to give this one to John. His argument is flawless
>>> and spot on.
>>
>> Says a sock puppet who's never posted before. Nice try John.
>
>Please keep the jokes coming. I find you most entertaining! =)

That hand up your arse must be getting annoying by now.

Subject: Re: on Perl
From: Rainer Weikusat
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc, comp.lang.perl.misc
Date: Thu, 18 Apr 2024 17:09 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: rweikusat@talktalk.net (Rainer Weikusat)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc,comp.lang.perl.misc
Subject: Re: on Perl
Date: Thu, 18 Apr 2024 18:09:32 +0100
Lines: 33
Message-ID: <87o7a6zjg3.fsf@doppelsaurus.mobileactivedefense.com>
References: <uu54la$3su5b$6@dont-email.me> <87edbtz43p.fsf@tudado.org>
<0d2cnVzOmbD6f4z7nZ2dnZfqnPudnZ2d@brightview.co.uk>
<20240408075547.000061e8@gmail.com>
<g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
<uvbe3m$2cun7$1@dont-email.me>
<Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk>
<pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid>
<uvk8o6$h2pg$3@dont-email.me>
<dRicnfsW0phufoP7nZ2dnZfqnPednZ2d@brightview.co.uk>
<uvnerd$1ct1p$1@dont-email.me> <87jzkvor7q.fsf@bsb.me.uk>
<uvplme$1rupi$2@dont-email.me>
<87le5br16d.fsf@nosuchdomain.example.com>
<uvpt9m$2126r$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net eq/zrm3nOnwiyAtsZE6SeA7CA3RMk4+0Gv9uVmgONHm/5z6XA=
Cancel-Lock: sha1:CPMJdsWV8YO1sbgxHcfiXd3hqyQ= sha1:2NNEVY8vTj4Sk0cwotAttr82BJY= sha256:EGzZ6gqSkBrBXsdaVrpcLLL4xoy6M5UsTPP4tGUYPYk=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
View all headers

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
> On Wed, 17 Apr 2024 16:59:06 -0700, Keith Thompson wrote:
>
>> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>>>
>>> On Wed, 17 Apr 2024 18:04:57 +0100, Ben Bacarisse wrote:
>>>>
>>>> Perl has had support for object-oriented programming (with multiple
>>>> inheritance) for many years -- too many for me to remember.
>>>
>>> Then why this new “class” thing in 5.38?
>>
>> It's explained reasonably well at the top of the "perldoc perlclass"
>> documentation in Perl 5.38:
>
> It says there is already supposed to be a mechanism for this, it doesn’t
> explain why that isn’t good enough.

There's a mechanism for method dispatch in class hierarcies. There's no
builtin support whatsoever for handling class instance data (or class
data, for that matter). This has certain advantages (everything a
reference refers to can be used as object, eg, file handles) and is
reasonably easy to provide for cases without multiple inheritance and
doable otherwise. OTOH, that absolutely not what people familiar with
other programming languages expect and also beyond what many of them can
wisely handle. Hence, a more dictatorial approach is probably expected
to improve things¹.

¹ Somewhat questionable when looking at another newer feature, namely,
subroutine signatures. It would be absolutely great if perl support real
function prototypes including checking function invocations for
correctness at compile time *and* *not* at runtime everytime a
function is called.

Subject: Re: on Perl
From: John Ames
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Thu, 18 Apr 2024 17:16 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: commodorejohn@gmail.com (John Ames)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: on Perl
Date: Thu, 18 Apr 2024 10:16:53 -0700
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <20240418101653.00001aa4@gmail.com>
References: <uu54la$3su5b$6@dont-email.me>
<20240408075547.000061e8@gmail.com>
<g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
<uvbe3m$2cun7$1@dont-email.me>
<Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk>
<pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid>
<uvk8o6$h2pg$3@dont-email.me>
<20240415152951.000079ab@gmail.com>
<uvkbec$hjeq$1@dont-email.me>
<uvlc1f$rgng$1@dont-email.me>
<slrnv1smf9.25p4.naddy@lorvorc.mips.inka.de>
<uvm35m$10egq$1@dont-email.me>
<EpwTN.247849$zF_1.119459@fx18.iad>
<uvm5bp$10uuu$1@dont-email.me>
<uvm69k$1154r$1@dont-email.me>
<uvm6b5$116e9$1@dont-email.me>
<20240416084923.00005c8a@gmail.com>
<uvm6pg$119gi$1@dont-email.me>
<20240416085912.00001a9b@gmail.com>
<uvm82d$11io2$1@dont-email.me>
<20240416091813.00003dd8@gmail.com>
<uvo0s3$1ga3v$1@dont-email.me>
<20240417075943.00006cb4@gmail.com>
<uvosih$1mltt$1@dont-email.me>
<20240417095512.00007ccc@gmail.com>
<uvqibq$2526v$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 18 Apr 2024 19:16:56 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="d58852c511418b103211b70d7cc984d4";
logging-data="2488895"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+rt+DjxGOUAf2BEnHArkqWh7uG6zj67v4="
Cancel-Lock: sha1:Q9oUEgk5iR5wi1kculAgl8R+UZA=
X-Newsreader: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-w64-mingw32)
View all headers

On Thu, 18 Apr 2024 07:33:14 -0000 (UTC)
Muttley@dastardlyhq.com wrote:

> There are plenty of fields I haven't worked in that I would also
> consider serious eg agriculture, automotive, energy.
>
> Games arn't on that list.

Very well, then! That leaves us with the larger questions:

* By what logic do you argue that a language which is commonly used in
fields which are (by your own admission) "pretty big" but (in your
assessment) not "serious" is therefore "pretty irrelevant in most
language discussions?"
* What about all of the other non-game applications people have cited?
Are none of these "serious" by your standards?

> I simply descended to the level that the argument had been brought to
> so don't complain.

On the contrary, you've been the one dragging it down from the start;
the first to name-call, the first to accuse someone of being a sock-
puppet, the first to mock other people for having specialties you don't
consider "serious" - and, for that matter, the person who started this
off by talking pointless smack, as if anybody in comp.lang.misc cares
whether a language is considered "relevant" or "serious."

> >Muttley: "Also you're a poopiehead."
>
> Are you expecting to be taken seriously?

Were *you,* when you decided to start throwing around terms like
"aspie?" (2009 called, they want their insult back.)

Subject: Re: on Perl
From: D
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: i2pn2 (i2pn.org)
Date: Thu, 18 Apr 2024 18:59 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: nospam@example.net (D)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: on Perl
Date: Thu, 18 Apr 2024 20:59:01 +0200
Organization: i2pn2 (i2pn.org)
Message-ID: <060a9aa8-71f2-8c44-d268-1fa13994aa9d@example.net>
References: <uu54la$3su5b$6@dont-email.me> <Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk> <pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid> <uvk8o6$h2pg$3@dont-email.me> <20240415152951.000079ab@gmail.com> <uvkbec$hjeq$1@dont-email.me>
<uvlc1f$rgng$1@dont-email.me> <slrnv1smf9.25p4.naddy@lorvorc.mips.inka.de> <uvm35m$10egq$1@dont-email.me> <EpwTN.247849$zF_1.119459@fx18.iad> <uvm5bp$10uuu$1@dont-email.me> <uvm69k$1154r$1@dont-email.me> <uvm6b5$116e9$1@dont-email.me> <20240416084923.00005c8a@gmail.com>
<uvm6pg$119gi$1@dont-email.me> <20240416085912.00001a9b@gmail.com> <uvm82d$11io2$1@dont-email.me> <20240416091813.00003dd8@gmail.com> <uvo0s3$1ga3v$1@dont-email.me> <20240417075943.00006cb4@gmail.com> <uvosih$1mltt$1@dont-email.me> <20240417095512.00007ccc@gmail.com>
<730cdd1d-724e-bd89-9487-92b35104a154@example.net> <uvqifb$252rg$1@dont-email.me> <2b148bc9-000f-13a0-b7fc-ab09c07cf446@example.net> <uvren5$2b1i0$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Injection-Info: i2pn2.org;
logging-data="1590786"; mail-complaints-to="usenet@i2pn2.org";
posting-account="w/4CleFT0XZ6XfSuRJzIySLIA6ECskkHxKUAYDZM66M";
In-Reply-To: <uvren5$2b1i0$1@dont-email.me>
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

On Thu, 18 Apr 2024, Muttley@dastardlyhq.com wrote:

> On Thu, 18 Apr 2024 11:28:38 +0200
> D <nospam@example.net> wrote:
>> On Thu, 18 Apr 2024, Muttley@dastardlyhq.com wrote:
>>
>>> On Wed, 17 Apr 2024 23:05:34 +0200
>>> D <nospam@example.net> wrote:
>>>> Sorry Muttley, I have to give this one to John. His argument is flawless
>>>> and spot on.
>>>
>>> Says a sock puppet who's never posted before. Nice try John.
>>
>> Please keep the jokes coming. I find you most entertaining! =)
>
> That hand up your arse must be getting annoying by now.

Keep em coming! =)

Subject: Re: on Perl
From: David Brown
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Thu, 18 Apr 2024 19:55 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.brown@hesbynett.no (David Brown)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: on Perl
Date: Thu, 18 Apr 2024 21:55:13 +0200
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <uvrtr1$2efpd$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <87edbtz43p.fsf@tudado.org>
<0d2cnVzOmbD6f4z7nZ2dnZfqnPudnZ2d@brightview.co.uk>
<20240408075547.000061e8@gmail.com>
<g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
<uvbe3m$2cun7$1@dont-email.me>
<Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk>
<pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid>
<uvk8o6$h2pg$3@dont-email.me> <20240415152951.000079ab@gmail.com>
<uvkbec$hjeq$1@dont-email.me> <uvlc1f$rgng$1@dont-email.me>
<slrnv1smf9.25p4.naddy@lorvorc.mips.inka.de> <uvm35m$10egq$1@dont-email.me>
<uvo4rc$1h0kl$2@dont-email.me> <uvrd4b$2am8i$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 18 Apr 2024 21:55:13 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="ac77df562e41779b6c3d23eaf288d0f7";
logging-data="2572077"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+6BkOKQQXzQkEzTOkAgJdPyO8aTssYXuQ="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:LLPa6KcXyd7/CqCnwicuthPPs0Y=
In-Reply-To: <uvrd4b$2am8i$2@dont-email.me>
Content-Language: en-GB
View all headers

On 18/04/2024 17:10, candycanearter07 wrote:
> David Brown <david.brown@hesbynett.no> wrote at 09:30 this Wednesday (GMT):
>> On 16/04/2024 16:49, Muttley@dastardlyhq.com wrote:
>>> On Tue, 16 Apr 2024 10:58:49 -0000 (UTC)
>>> Christian Weisgerber <naddy@mips.inka.de> wrote:
>>>> the FreeBSD boot loader, another constrained environment. In the
>>>> end Forth proved too unpopular, few people touched it, and it is
>>>> being replaced with Lua now.
>>>
>>> So moving from one language hardly anyone uses to another that hardly anyone
>>> uses. You can't deny the consistency.
>>>
>>
>> Lots of people use Lua. It is very popular as a small scripting
>> language, and as a language embedded in other programs - you only need
>> two or three C source files linked into your code to make Lua available,
>> and it's quite easy to expose C functions as Lua functions.
>>
>> It is extremely popular in gaming - including for player scripting in
>> Minecraft.
>
>
> Minecraft supports player scripting?

I am no Minecraft expert. You might need an add-on, or special mode, or
something, to get access to Lua scripting.

Subject: Re: on Perl
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Fri, 19 Apr 2024 08:57 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: on Perl
Date: Fri, 19 Apr 2024 08:57:08 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <uvtbl4$2tml5$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me>
<20240408075547.000061e8@gmail.com>
<g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
<uvbe3m$2cun7$1@dont-email.me>
<Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk>
<pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid>
<uvk8o6$h2pg$3@dont-email.me>
<20240415152951.000079ab@gmail.com>
<uvkbec$hjeq$1@dont-email.me>
<uvlc1f$rgng$1@dont-email.me>
<slrnv1smf9.25p4.naddy@lorvorc.mips.inka.de>
<uvm35m$10egq$1@dont-email.me>
<EpwTN.247849$zF_1.119459@fx18.iad>
<uvm5bp$10uuu$1@dont-email.me>
<uvm69k$1154r$1@dont-email.me>
<uvm6b5$116e9$1@dont-email.me>
<20240416084923.00005c8a@gmail.com>
<uvm6pg$119gi$1@dont-email.me>
<20240416085912.00001a9b@gmail.com>
<uvm82d$11io2$1@dont-email.me>
<20240416091813.00003dd8@gmail.com>
<uvo0s3$1ga3v$1@dont-email.me>
<20240417075943.00006cb4@gmail.com>
<uvosih$1mltt$1@dont-email.me>
<20240417095512.00007ccc@gmail.com>
<uvqibq$2526v$1@dont-email.me>
<20240418101653.00001aa4@gmail.com>
Injection-Date: Fri, 19 Apr 2024 10:57:08 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7855b986906a0d75353095e951857fe9";
logging-data="3070629"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19c4g6z/RrNu/cAKm1wNy1I"
Cancel-Lock: sha1:syIH8yhYr3rsQ7qSUSTcnR3oRHE=
View all headers

On Thu, 18 Apr 2024 10:16:53 -0700
John Ames <commodorejohn@gmail.com> wrote:
>On Thu, 18 Apr 2024 07:33:14 -0000 (UTC)
>Muttley@dastardlyhq.com wrote:
>
>> There are plenty of fields I haven't worked in that I would also
>> consider serious eg agriculture, automotive, energy.
>>
>> Games arn't on that list.
>
>Very well, then! That leaves us with the larger questions:
>
>* By what logic do you argue that a language which is commonly used in
> fields which are (by your own admission) "pretty big" but (in your
> assessment) not "serious" is therefore "pretty irrelevant in most
> language discussions?"

The amount of code written in the language. I doubt game scripting amounts
to much in the scheme of things.

>* What about all of the other non-game applications people have cited?
> Are none of these "serious" by your standards?

Don't remember them tbh. A serious application IMO is something that
impacts society as a whole in that if it didn't exist we'd be in trouble
or something that benefits a persons ability to live their life.
If games vanishes some teenagers and kidults might get a bit annoyed for
a while before they went outside and played with a ball but society would
carry on as before.

>> Are you expecting to be taken seriously?
>
>Were *you,* when you decided to start throwing around terms like
>"aspie?" (2009 called, they want their insult back.)

Its a very relevant insult given these days every socially awkward moron
decides they're on the spectrum so they can have some kind of disadvantage
kudos.

Subject: Re: on Perl
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Fri, 19 Apr 2024 08:57 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: on Perl
Date: Fri, 19 Apr 2024 08:57:31 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <uvtblr$2tmo7$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <Mkidnafag8vlooH7nZ2dnZfqn_idnZ2d@brightview.co.uk> <pan$c8c3e$b0e492b3$c544c27e$d72bff90@invalid.invalid> <uvk8o6$h2pg$3@dont-email.me> <20240415152951.000079ab@gmail.com> <uvkbec$hjeq$1@dont-email.me>
<uvlc1f$rgng$1@dont-email.me> <slrnv1smf9.25p4.naddy@lorvorc.mips.inka.de> <uvm35m$10egq$1@dont-email.me> <EpwTN.247849$zF_1.119459@fx18.iad> <uvm5bp$10uuu$1@dont-email.me> <uvm69k$1154r$1@dont-email.me> <uvm6b5$116e9$1@dont-email.me> <20240416084923.00005c8a@gmail.com>
<uvm6pg$119gi$1@dont-email.me> <20240416085912.00001a9b@gmail.com> <uvm82d$11io2$1@dont-email.me> <20240416091813.00003dd8@gmail.com> <uvo0s3$1ga3v$1@dont-email.me> <20240417075943.00006cb4@gmail.com> <uvosih$1mltt$1@dont-email.me> <20240417095512.00007ccc@gmail.com>
<730cdd1d-724e-bd89-9487-92b35104a154@example.net> <uvqifb$252rg$1@dont-email.me> <2b148bc9-000f-13a0-b7fc-ab09c07cf446@example.net> <uvren5$2b1i0$1@dont-email.me>
<060a9aa8-71f2-8c44-d268-1fa13994aa9d@example.net>
Injection-Date: Fri, 19 Apr 2024 10:57:31 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7855b986906a0d75353095e951857fe9";
logging-data="3070727"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18TpFQwYIH9LlIR8C1QvrkB"
Cancel-Lock: sha1:SWCe91fxniv/BfjzB0XH3UmVe2U=
View all headers

On Thu, 18 Apr 2024 20:59:01 +0200
D <nospam@example.net> wrote:
>On Thu, 18 Apr 2024, Muttley@dastardlyhq.com wrote:
>
>> On Thu, 18 Apr 2024 11:28:38 +0200
>> D <nospam@example.net> wrote:
>>> On Thu, 18 Apr 2024, Muttley@dastardlyhq.com wrote:
>>>
>>>> On Wed, 17 Apr 2024 23:05:34 +0200
>>>> D <nospam@example.net> wrote:
>>>>> Sorry Muttley, I have to give this one to John. His argument is flawless
>>>>> and spot on.
>>>>
>>>> Says a sock puppet who's never posted before. Nice try John.
>>>
>>> Please keep the jokes coming. I find you most entertaining! =)
>>
>> That hand up your arse must be getting annoying by now.
>
>Keep em coming! =)

I suspect thats what you'll be doing at some point.

Pages:1234

rocksolid light 0.9.8
clearnet tor