Deutsch   English   Français   Italiano  
<87wmighu4i.fsf@doppelsaurus.mobileactivedefense.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Rainer Weikusat <rweikusat@talktalk.net>
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Command Languages Versus Programming Languages
Date: Thu, 10 Oct 2024 16:09:49 +0100
Lines: 46
Message-ID: <87wmighu4i.fsf@doppelsaurus.mobileactivedefense.com>
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>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net bewH1x+rEknOidLHrAkF7QFVWSJfGLIi2DqUpP/z/UwO2QCA0=
Cancel-Lock: sha1:1Hwtjvc5war882w63Yy2rN6UtPw= sha1:ERekyLlVgj/hg2WvfLv0wP1/8FE= sha256:QyL8+IrisDy72ovyQj9xbj8mhqEdm80QtD11lIDCwW4=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Bytes: 2989

Muttley@DastartdlyHQ.org writes:
> On Wed, 09 Oct 2024 22:25:05 +0100
> Rainer Weikusat <rweikusat@talktalk.net> boring babbled:
>>Bozo User <anthk@disroot.org> writes:
>>> On 2024-04-07, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>>> On Sun, 07 Apr 2024 00:01:43 +0000, Javier wrote:
>>>>
>>>>> The downside is the loss of performance because of disk access for
>>>>> trivial things like 'nfiles=$(ls | wc -l)'.
>>>>
>>>> Well, you could save one process creation by writing
>>>> “nfiles=$(echo * | wc -l)†instead. But that would still not be
>>strictly 
>>>> correct.
>>>>
>>>>> I suspect disk access times where
>>>>> one of the reasons for the development of perl in the early 90s.
>>>>
>>>> Shells were somewhat less powerful in those days. I would describe the 
>>>> genesis of Perl as “awk on steroidsâ€. Its big party trick was regular 
>>>> expressions. And I guess combining that with more sophisticated data-
>>>> structuring capabilities.
>>>
>>> Perl is more awk+sed+sh in a single language. Basically the killer
>>> of the Unix philophy in late 90's/early 00's, and for the good.
>>
>>Perl is a high-level programming language with a rich syntax¹, with
>>support for deterministic automatic memory management, functions as
>>first-class objects and message-based OO. It's also a virtual machine
>>for executing threaded code and a(n optimizing) compiler for translating
>>Perl code into the corresponding threaded code.
>
> Its syntax is also a horrific mess.

Which means precisely what?

> Its no surprise Perl has been ditched in favour of Python just about
> everywhere for new scripting projects.

"I say so and I'm an avid Phython fan?"

Not much of a reason.

BTW, I didn't mean to start another entirely pointless language
war. Just pointing out the referring to a general-purpose programming
language as "killer of the UNIX philosophy" makes no sense.