Deutsch English Français Italiano |
<vhjosn$29cfe$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.misty.com!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc Subject: Re: Command Languages Versus Programming Languages Date: Wed, 20 Nov 2024 04:34:31 -0000 (UTC) Organization: A noiseless patient Spider Lines: 16 Message-ID: <vhjosn$29cfe$1@dont-email.me> References: <uu54la$3su5b$6@dont-email.me> <87edbtz43p.fsf@tudado.org> <0d2cnVzOmbD6f4z7nZ2dnZfqnPudnZ2d@brightview.co.uk> <uusur7$2hm6p$1@dont-email.me> <vdf096$2c9hb$8@dont-email.me> <87a5fdj7f2.fsf@doppelsaurus.mobileactivedefense.com> <ve83q2$33dfe$1@dont-email.me> <vgsbrv$sko5$1@dont-email.me> <vgtslt$16754$1@dont-email.me> <86frnmmxp7.fsf@red.stonehenge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 20 Nov 2024 05:34:32 +0100 (CET) Injection-Info: dont-email.me; posting-host="c8a5d8f8287a46a043b46813003956ce"; logging-data="2404846"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19RAG3UPEGL/TNHmkXQDLBp" User-Agent: Pan/0.160 (Toresk; ) Cancel-Lock: sha1:XMR5qAclUg6kEDL11yedBynYA4c= Bytes: 2139 On Tue, 19 Nov 2024 18:43:48 -0800, Randal L. Schwartz wrote: >>>>>> "Lawrence" == Lawrence D'Oliveiro <ldo@nz.invalid> writes: > > Lawrence> Perl was the language that made regular expressions > Lawrence> sexy. Because it made them easy to use. > > I'm often reminded of this as I've been coding very little in Perl these > days, and a lot more in languages like Dart, where the regex feels like > a clumsy bolt-on rather than a proper first-class citizen. Python has regexes as a bolt-on -- a library module, not a core part of the language. But I think the way it leverages the core language -- e.g. being able to iterate over pattern matches, and collecting information about matches in a “Match” object -- keeps it quite useful in a nicely functional way.