Re: my immature thoughts on perl

2023-04-09 Thread Emanuel Berg
Andrew M.A. Cater wrote: > You don't want to believe that - Epimenides the Cretan > asserts that "all Cretans are liars" Face it, the Greek invented it, the Italians (Romans) perfected/spread it ... All honor to diplomacy, you are not going to expect me to say anything else, I think our

Re: my immature thoughts on perl

2023-04-09 Thread Emanuel Berg
Stefan Monnier wrote: I usually taunt people with "All generalizations suck". >>> >>> Can't it be the exception to confirm the rule? >> >> There is a barber in Crete who shaves all men who don't >> shave themselves > > You're just pointing out that *impredicative* > generalizations suck even

Re: my immature thoughts on perl

2023-04-09 Thread Andrew M.A. Cater
On Sun, Apr 09, 2023 at 11:18:14AM -0400, Stefan Monnier wrote: > >> > I usually taunt people with "All generalizations suck". > >> Can't it be the exception to confirm the rule? > > There is a barber in Crete who shaves all men who don't > > shave themselves [1]. > You don't want to believe

Re: my immature thoughts on perl

2023-04-09 Thread Stefan Monnier
>> > I usually taunt people with "All generalizations suck". >> Can't it be the exception to confirm the rule? > There is a barber in Crete who shaves all men who don't > shave themselves [1]. You're just pointing out that *impredicative* generalizations suck even more than the rest.

Re: my immature thoughts on perl

2023-04-09 Thread Emanuel Berg
tomas wrote: > There is a barber in Crete who shaves all men who don't > shave themselves [1] > https://en.wikipedia.org/wiki/Barber_paradox Yeah, but that isn't really a paradox, is it? It's like all the programs that will increase inflation :) -- underground experts united

Re: my immature thoughts on perl

2023-04-08 Thread tomas
On Sat, Apr 08, 2023 at 02:37:56PM +0200, Emanuel Berg wrote: > tomas wrote: > > >>> Perl is the best language, maybe Lisp is the best > >>> language. But everything else isn't as good. > >> > >> Every categorical generalisation is wrong. (Even this one > >> :) ) > > > > I usually taunt people

Re: my immature thoughts on perl

2023-04-08 Thread tomas
On Sat, Apr 08, 2023 at 06:08:31AM +, davidson wrote: [...] > Clippy 2.0 has a hype train, and my BS detector is blazing like a > forest fire. Thank you for that one: "ChatGPT: Clippy Strikes Back". Cheers -- t signature.asc Description: PGP signature

Re: my immature thoughts on perl

2023-04-08 Thread Emanuel Berg
>>> Ha, but can't we do better, I would like all the >>> properties (stuff possible to express and do) in >>> a programming language encoded, and then count them to >>> determine what language is the most powerful. >> >> We know that except for some particularly limited >> languages, they'll all

Re: my immature thoughts on perl

2023-04-08 Thread Emanuel Berg
Stefan Monnier wrote: >> Ha, but can't we do better, I would like all the properties >> (stuff possible to express and do) in a programming >> language encoded, and then count them to determine what >> language is the most powerful. > > We know that except for some particularly limited languages,

Re: my immature thoughts on perl

2023-04-08 Thread Stefan Monnier
> Ha, but can't we do better, I would like all the properties > (stuff possible to express and do) in a programming language > encoded, and then count them to determine what language is the > most powerful. We know that except for some particularly limited languages, they'll all mutually

Re: my immature thoughts on perl

2023-04-08 Thread Emanuel Berg
Andy Smith wrote: > That is, why are you asking people to convince you to like > Perl? There are lots of languages and you appear to have > found one you like better. Maybe there is no answer in particular why Perl has it's trajectory. Maybe it can't be expressed in a formula. But I just get the

Re: my immature thoughts on perl

2023-04-08 Thread Emanuel Berg
coreyh wrote: >>> I think you should use Ruby if you like Ruby better! >> >> Perl is the best language, maybe Lisp is the best language. >> But everything else isn't as good. > > The Language Wars Are Over: ChatGPT Won > https://bourgoin.dev/posts/programming-languages/ Ha, but can't we do

Re: my immature thoughts on perl

2023-04-08 Thread Emanuel Berg
tomas wrote: >>> Perl is the best language, maybe Lisp is the best >>> language. But everything else isn't as good. >> >> Every categorical generalisation is wrong. (Even this one >> :) ) > > I usually taunt people with "All generalizations suck". Can't it be the exception to confirm the rule?

Re: my immature thoughts on perl

2023-04-08 Thread davidson
On Sat, 8 Apr 2023 to...@tuxteam.de wrote: On Sat, Apr 08, 2023 at 07:06:28AM +0800, cor...@free.fr wrote: On 08/04/2023 03:28, Emanuel Berg wrote: Andy Smith wrote: I think you should use Ruby if you like Ruby better! Perl is the best language, maybe Lisp is the best language. But

Re: my immature thoughts on perl

2023-04-07 Thread tomas
On Sat, Apr 08, 2023 at 07:06:28AM +0800, cor...@free.fr wrote: > On 08/04/2023 03:28, Emanuel Berg wrote: > > Andy Smith wrote: > > > > > I think you should use Ruby if you like Ruby better! > > > > Perl is the best language, maybe Lisp is the best language. > > But everything else isn't as

Re: my immature thoughts on perl

2023-04-07 Thread tomas
On Fri, Apr 07, 2023 at 08:09:12PM +, Andrew M.A. Cater wrote: > On Fri, Apr 07, 2023 at 09:28:59PM +0200, Emanuel Berg wrote: > > Andy Smith wrote: > > > > > I think you should use Ruby if you like Ruby better! > > > > Perl is the best language, maybe Lisp is the best language. > > But

Re: my immature thoughts on perl

2023-04-07 Thread coreyh
On 08/04/2023 03:28, Emanuel Berg wrote: Andy Smith wrote: I think you should use Ruby if you like Ruby better! Perl is the best language, maybe Lisp is the best language. But everything else isn't as good. The Language Wars Are Over: ChatGPT Won

Re: my immature thoughts on perl

2023-04-07 Thread Andrew M.A. Cater
On Fri, Apr 07, 2023 at 09:28:59PM +0200, Emanuel Berg wrote: > Andy Smith wrote: > > > I think you should use Ruby if you like Ruby better! > > Perl is the best language, maybe Lisp is the best language. > But everything else isn't as good. > Every categorical generalisation is wrong. (Even

Re: my immature thoughts on perl

2023-04-07 Thread Emanuel Berg
Andy Smith wrote: > I think you should use Ruby if you like Ruby better! Perl is the best language, maybe Lisp is the best language. But everything else isn't as good. -- underground experts united https://dataswamp.org/~incal

Re: my immature thoughts on perl

2023-04-04 Thread Andy Smith
Hello, On Tue, Apr 04, 2023 at 10:35:39AM +0800, cor...@free.fr wrote: > How do you think of it? I think you should use Ruby if you like Ruby better! Honestly, we aren't the "I'd Like An Argument Please" sketch; if we were then you'd have to be paying. As it stands I am only doing this in my

Re: my immature thoughts on perl

2023-04-04 Thread Ken Peng
to...@tuxteam.de wrote: I think watching carefully Tcl's evolution teaches a lot about languages, the type of design decisions going into them and their (changing) context. I was surprised to see many people here still use TCL. Many years ago I used this language for sysadmin jobs. It was

Re: my immature thoughts on perl

2023-04-04 Thread tomas
On Tue, Apr 04, 2023 at 07:12:05AM -0400, Greg Wooledge wrote: > On Tue, Apr 04, 2023 at 06:50:02AM +0200, to...@tuxteam.de wrote: > > In Tcl, OTOH, EIAS [...] > The introduction of the {*} operator eliminated a lot of the need for > eval. Instead of [...] Thanks for the reminder :) I think

Re: my immature thoughts on perl

2023-04-04 Thread Greg Wooledge
On Tue, Apr 04, 2023 at 06:50:02AM +0200, to...@tuxteam.de wrote: > In Tcl, OTOH, EIAS (Everything Is A String), so you've got > to eval strings (don't take me too seriously: modern Tcl > cheats, and it's more "Everything looks like a string", > but I disgress). The introduction of the {*}

Re: my immature thoughts on perl

2023-04-04 Thread Vincent Lefevre
On 2023-04-03 20:50:22 -0700, Will Mengarini wrote: > * cor...@free.fr [23-04/04=Tu 10:35 +0800]: > > For instance, in ruby (irb) this is quite smooth: > > irb(main):001:0> [1,2,3,4].map{|x|x+1}.reduce{|x,y|x+y} > > => 14 > > > > And in scala (shell): > > scala> List(1,2,3,4).map{ _+1

Re: my immature thoughts on perl

2023-04-04 Thread john doe
On 4/4/23 04:35, cor...@free.fr wrote: Hello list, Would it be possible to refrain from using the list for OT stuff. Your Perl threads are generating traffic that are not useful. -- John Doe

Re: my immature thoughts on perl

2023-04-03 Thread tomas
On Tue, Apr 04, 2023 at 11:52:57AM +0800, cor...@free.fr wrote: [...] > I heard in perl never 'eval' a string. :) Never say never :) That said... there are better things to eval in Perl than a string, so if you have the choice, think twice. But you have got to think anyway if you are

Re: my immature thoughts on perl

2023-04-03 Thread Will Mengarini
* cor...@free.fr [23-04/04=Tu 10:35 +0800]: > For instance, in ruby (irb) this is quite smooth: > irb(main):001:0> [1,2,3,4].map{|x|x+1}.reduce{|x,y|x+y} > => 14 > > And in scala (shell): > scala> List(1,2,3,4).map{ _+1 }.reduce{_+_} > res1: Int = 14 > In perl there is no interactive shell [...]

Re: my immature thoughts on perl

2023-04-03 Thread coreyh
On 04/04/2023 11:50, Will Mengarini wrote: * cor...@free.fr [23-04/04=Tu 10:35 +0800]: For instance, in ruby (irb) this is quite smooth: irb(main):001:0> [1,2,3,4].map{|x|x+1}.reduce{|x,y|x+y} => 14 And in scala (shell): scala> List(1,2,3,4).map{ _+1 }.reduce{_+_} res1: Int = 14 In perl

Re: my immature thoughts on perl

2023-04-03 Thread David Christensen
On 4/3/23 19:35, cor...@free.fr wrote: Hello list, I am not that familiar with perl (though I like it), but I found it maybe have two flaws as follows. 1. doesn't have an interactive shell. 2. the block statement (like lambda) is ugly. For instance, in ruby (irb) this is quite smooth:

Re: my immature thoughts on perl

2023-04-03 Thread Greg Wooledge
On Tue, Apr 04, 2023 at 10:35:39AM +0800, cor...@free.fr wrote: > For instance, in ruby (irb) this is quite smooth: > > irb(main):001:0> [1,2,3,4].map{|x|x+1}.reduce{|x,y|x+y} > => 14 > > > And in scala (shell): > > scala> List(1,2,3,4).map{ _+1 }.reduce{_+_} > res1: Int = 14 And Tcl: