Deutsch English Français Italiano |
<vod8kl$19a9a$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Dan Espen <dan1espen@gmail.com> Newsgroups: comp.unix.shell Subject: Re: lisp scripts Date: Mon, 10 Feb 2025 11:14:13 -0500 Organization: A noiseless patient Spider Lines: 50 Message-ID: <vod8kl$19a9a$1@dont-email.me> References: <m2wmdzr7k6.fsf@freecol.be> <voajsf$nd2k$1@dont-email.me> <vobfif$sefh$3@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Mon, 10 Feb 2025 17:14:15 +0100 (CET) Injection-Info: dont-email.me; posting-host="c6af529685fd478437105934b03a04d1"; logging-data="1354026"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+HzmE6crTPK20TKyrxGmHWJg2Tgq1FBDA=" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:0y1J3MCQUK9Yyr2uaksHuO1a8RI= Bytes: 2930 Lawrence D'Oliveiro <ldo@nz.invalid> writes: > On Sun, 09 Feb 2025 11:07:43 -0500, Dan Espen wrote: > >> I once spent a week converting a LOT of sed/awk to Perl. I turned a >> complicated mess into something any programmer could readily understand. >> (And actually worked.) > > I have pointed out several times that Perl does everything awk can do, at > least as concisely, and a lot more besides. Which is why I never bothered > to learn awk. When I started the project mentioned above, I only knew a little Perl and a litte more Awk. As I read about Awk, I read about a2p. I thought, wait a minute, this fairly primitive Awk can be converted by a program into a full blown programming language? Why would I want to wear handcuffs? > Some people get annoyed every time I say that. Probably because we're on comp.unix.shell. >> Now I'd use Python. > > With Perl, I was never quite sure I fully understood what was going on. > There was always some hint of magic lurking just behind the scenes. Also > the core language ends up quite large, with all the built-in features > packed into it. > > (Those two characteristics are probably related.) > > With Python, I always felt that I understood what I was doing. And I kept > that feeling as I got into more complex features like descriptors and > metaclasses. It is, for the most part, a language whose growth has been > carefully managed, so that the language core remains compact and cohesive > and yet remains an incredibly powerful base to build on (as the standard > library demonstrates). I was happily using Perl for a GUI I wrote using Perl/GTK. As GTK evolved, the Perl support got worse and worse. Eventually forcing me to move to Python/GTK. Since then I've found the number of interfaces from Python to other packages is just amazing. I've currently using Pychromecast to interface to Google Nest Speakers. I've found, you really do have to stay with the times. -- Dan Espen