Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Q: Why did the astrophysicist order three hamburgers? A: Because he was hungry.


comp / comp.unix.shell / Re: Command Languages Versus Programming Languages

SubjectAuthor
* Re: Command Languages Versus Programming LanguagesSebastian
`* Re: Command Languages Versus Programming LanguagesLawrence D'Oliveiro
 +* Re: Command Languages Versus Programming LanguagesKaz Kylheku
 |`* Re: Command Languages Versus Programming LanguagesMuttley
 | `- Re: Command Languages Versus Programming LanguagesBozo User
 +* Re: Command Languages Versus Programming LanguagesAndreas Eder
 |+- Trading insults about Lisp coding styles (Was: Command Languages Versus ProgrammKenny McCormack
 |`* Re: Command Languages Versus Programming LanguagesLawrence D'Oliveiro
 | `- Re: Command Languages Versus Programming LanguagesKaz Kylheku
 `* Re: Command Languages Versus Programming LanguagesSebastian
  `* Re: Command Languages Versus Programming LanguagesLawrence D'Oliveiro
   `* Re: Command Languages Versus Programming LanguagesSebastian
    `* Re: Command Languages Versus Programming LanguagesLawrence D'Oliveiro
     `* Re: Command Languages Versus Programming LanguagesSebastian
      `* Re: Command Languages Versus Programming LanguagesLawrence D'Oliveiro
       `* Re: Command Languages Versus Programming LanguagesJohanne Fairchild
        `* Re: Command Languages Versus Programming LanguagesLawrence D'Oliveiro
         +* Re: Command Languages Versus Programming LanguagesJohanne Fairchild
         |`- Re: Command Languages Versus Programming LanguagesLawrence D'Oliveiro
         `- Re: Command Languages Versus Programming LanguagesKeith Thompson

1
Subject: Re: Command Languages Versus Programming Languages
From: Sebastian
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Tue, 6 Aug 2024 08:04 UTC
References: 1 2 3 4 5 6 7 8 9 10 11
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: sebastian@here.com.invalid (Sebastian)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Command Languages Versus Programming Languages
Date: Tue, 6 Aug 2024 08:04:35 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <v8sleh$1g9s4$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <LISP-20240402085115@ram.dialup.fu-berlin.de> <LISP-20240402091729@ram.dialup.fu-berlin.de> <wrap-20240402092558@ram.dialup.fu-berlin.de> <uui7hf$3gona$1@dont-email.me> <uuj1o5$3pvnq$1@dont-email.me> <87plv6jv1i.fsf@nosuchdomain.example.com> <wwv5xwyifq8.fsf@LkoBDZeT.terraraq.uk> <if-20240404121825@ram.dialup.fu-berlin.de> <uund4g$ugsb$1@dont-email.me> <uup8ul$1fr2t$1@dont-email.me> <indentation-20240405183703@ram.dialup.fu-berlin.de>
Injection-Date: Tue, 06 Aug 2024 10:04:35 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="2b3221f33804ffdf8f9d6189b7fd00a3";
logging-data="1582980"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+hSbfNNMj1FV+q2QgPLt9zk0s1Pd4Hlok="
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-18-amd64 (x86_64))
Cancel-Lock: sha1:G7YtM4qDnLWuK6pP+Y9w5QuUf6U=
View all headers

In comp.unix.programmer Stefan Ram <ram@zedat.fu-berlin.de> wrote:
> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote or quoted:
>>On 05.04.2024 01:29, Lawrence D'Oliveiro wrote:
>>>This is where indentation helps. E.g.
>>> a =
>>> b ?
>>> c ? d : e
>>> : f ?
>>> g ? h : i
>>> : j;
>>>
>>Indentation generally helps.
>
> Let me give it a try to find how I would indent that!
>
> b?
> c? d: e:
> f?
> g? h: i:
> j;
>

Better:

a = b ? (c ? d : e) :
f ? (g ? h : i) :
j;

Equivalent Lisp, for comparison:

(setf a (cond (b (if c d e))
(f (if g h i))
(t j)))

And some people claim that ternaries are SO horribly
unreadable that they should never be used.

Subject: Re: Command Languages Versus Programming Languages
From: Lawrence D'Oliv
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Tue, 6 Aug 2024 23:34 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: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Command Languages Versus Programming Languages
Date: Tue, 6 Aug 2024 23:34:22 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <v8ubtt$1u86k$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me>
<LISP-20240402085115@ram.dialup.fu-berlin.de>
<LISP-20240402091729@ram.dialup.fu-berlin.de>
<wrap-20240402092558@ram.dialup.fu-berlin.de> <uui7hf$3gona$1@dont-email.me>
<uuj1o5$3pvnq$1@dont-email.me> <87plv6jv1i.fsf@nosuchdomain.example.com>
<wwv5xwyifq8.fsf@LkoBDZeT.terraraq.uk>
<if-20240404121825@ram.dialup.fu-berlin.de> <uund4g$ugsb$1@dont-email.me>
<uup8ul$1fr2t$1@dont-email.me>
<indentation-20240405183703@ram.dialup.fu-berlin.de>
<v8sleh$1g9s4$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 07 Aug 2024 01:34:22 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="8e0bcc1e6c667f299b1c29714d183294";
logging-data="2040020"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+L1Z7UUSZXXO3EcUgFqzJi"
User-Agent: Pan/0.159 (Vovchansk; )
Cancel-Lock: sha1:mzME3bcztqmJpoLx/Wh+B0EA/34=
View all headers

On Tue, 6 Aug 2024 08:04:35 -0000 (UTC), Sebastian wrote:

> Better:
>
> a = b ? (c ? d : e) :
> f ? (g ? h : i) :
> j;

Better still (fewer confusing parentheses):

a =
b ?
c ? d : e
: f ?
g ? h : i
: j;

> Equivalent Lisp, for comparison:
>
> (setf a (cond (b (if c d e))
> (f (if g h i))
> (t j)))

You can’t avoid the parentheses, but this, too, can be improved:

(setf a
(cond
(b
(if c d e)
)
(f
(if g h i)
)
(t
j
)
) ; cond
)

Subject: Re: Command Languages Versus Programming Languages
From: Kaz Kylheku
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Wed, 7 Aug 2024 13:43 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: 643-408-1753@kylheku.com (Kaz Kylheku)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Command Languages Versus Programming Languages
Date: Wed, 7 Aug 2024 13:43:10 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <20240807063938.329@kylheku.com>
References: <uu54la$3su5b$6@dont-email.me>
<LISP-20240402085115@ram.dialup.fu-berlin.de>
<LISP-20240402091729@ram.dialup.fu-berlin.de>
<wrap-20240402092558@ram.dialup.fu-berlin.de>
<uui7hf$3gona$1@dont-email.me> <uuj1o5$3pvnq$1@dont-email.me>
<87plv6jv1i.fsf@nosuchdomain.example.com>
<wwv5xwyifq8.fsf@LkoBDZeT.terraraq.uk>
<if-20240404121825@ram.dialup.fu-berlin.de> <uund4g$ugsb$1@dont-email.me>
<uup8ul$1fr2t$1@dont-email.me>
<indentation-20240405183703@ram.dialup.fu-berlin.de>
<v8sleh$1g9s4$1@dont-email.me> <v8ubtt$1u86k$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 07 Aug 2024 15:43:11 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="2df3d935c340d38657208d5227a16b17";
logging-data="3264720"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19JoNt0Z8PfmHVe3MSKzOCwKkQSZjXqn/o="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:iahhxB9wC/e458HYuP4VNGa7J1w=
View all headers

On 2024-08-06, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>> Equivalent Lisp, for comparison:
>>
>> (setf a (cond (b (if c d e))
>> (f (if g h i))
>> (t j)))
>
> You can’t avoid the parentheses, but this, too, can be improved:
>
> (setf a
> (cond
> (b
> (if c d e)
> )
> (f
> (if g h i)
> )
> (t
> j
> )
> ) ; cond
> )

Nobody is ever going to follow your idio(syncra)tic coding preferences
for Lisp, that wouldn't pass code review in any Lisp shop, and result in
patches being rejected in a FOSS setting.

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

Subject: Re: Command Languages Versus Programming Languages
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Thu, 8 Aug 2024 07:33 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: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Command Languages Versus Programming Languages
Date: Thu, 8 Aug 2024 07:33:34 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <v91sce$3qo2d$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me>
<LISP-20240402085115@ram.dialup.fu-berlin.de>
<LISP-20240402091729@ram.dialup.fu-berlin.de>
<wrap-20240402092558@ram.dialup.fu-berlin.de>
<uui7hf$3gona$1@dont-email.me> <uuj1o5$3pvnq$1@dont-email.me>
<87plv6jv1i.fsf@nosuchdomain.example.com>
<wwv5xwyifq8.fsf@LkoBDZeT.terraraq.uk>
<if-20240404121825@ram.dialup.fu-berlin.de> <uund4g$ugsb$1@dont-email.me>
<uup8ul$1fr2t$1@dont-email.me>
<indentation-20240405183703@ram.dialup.fu-berlin.de>
<v8sleh$1g9s4$1@dont-email.me> <v8ubtt$1u86k$1@dont-email.me>
<20240807063938.329@kylheku.com>
Injection-Date: Thu, 08 Aug 2024 09:33:35 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="0e794b04c607695cdc9239be1eb84eda";
logging-data="4022349"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18BrmNgJsjj4tEZropqg50Z"
Cancel-Lock: sha1:geRwCmBVDP1DsQfabp5lmEUm7wQ=
View all headers

On Wed, 7 Aug 2024 13:43:10 -0000 (UTC)
Kaz Kylheku <643-408-1753@kylheku.com> boringly babbled:
>On 2024-08-06, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>> Equivalent Lisp, for comparison:
>>>
>>> (setf a (cond (b (if c d e))
>>> (f (if g h i))
>>> (t j)))
>>
>> You can’t avoid the parentheses, but this, too, can be improved:
>>
>> (setf a
>> (cond
>> (b
>> (if c d e)
>> )
>> (f
>> (if g h i)
>> )
>> (t
>> j
>> )
>> ) ; cond
>> )
>
>Nobody is ever going to follow your idio(syncra)tic coding preferences
>for Lisp, that wouldn't pass code review in any Lisp shop, and result in
>patches being rejected in a FOSS setting.

I'm not a Lisp dev, but the original looks far more readable to me.
His definition of improvement seems to be obfuscation.

Subject: Re: Command Languages Versus Programming Languages
From: Andreas Eder
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Followup: poster
Organization: A noiseless patient Spider
Date: Thu, 8 Aug 2024 15:25 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: a_eder_muc@web.de (Andreas Eder)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Command Languages Versus Programming Languages
Followup-To: poster
Date: Thu, 08 Aug 2024 17:25:54 +0200
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <87ttfv6np9.fsf@eder.anydns.info>
References: <uu54la$3su5b$6@dont-email.me>
<LISP-20240402085115@ram.dialup.fu-berlin.de>
<LISP-20240402091729@ram.dialup.fu-berlin.de>
<wrap-20240402092558@ram.dialup.fu-berlin.de>
<uui7hf$3gona$1@dont-email.me> <uuj1o5$3pvnq$1@dont-email.me>
<87plv6jv1i.fsf@nosuchdomain.example.com>
<wwv5xwyifq8.fsf@LkoBDZeT.terraraq.uk>
<if-20240404121825@ram.dialup.fu-berlin.de> <uund4g$ugsb$1@dont-email.me>
<uup8ul$1fr2t$1@dont-email.me>
<indentation-20240405183703@ram.dialup.fu-berlin.de>
<v8sleh$1g9s4$1@dont-email.me> <v8ubtt$1u86k$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 08 Aug 2024 17:31:03 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="b88ffd7fc5ba219128eb76ecc4e063d9";
logging-data="91492"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/b6tncK7vlP32G6ItuIOLR"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:RIjg8VZivOuQa2uo3fs/r3Ei3Bw=
sha1:iCG9QA/Lv4Aa6CGLsPNCJSlvy3I=
View all headers

On Di 06 Aug 2024 at 23:34, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

> On Tue, 6 Aug 2024 08:04:35 -0000 (UTC), Sebastian wrote:
>
>> Better:
>>
>> a = b ? (c ? d : e) :
>> f ? (g ? h : i) :
>> j;
>
> Better still (fewer confusing parentheses):
>
> a =
> b ?
> c ? d : e
> : f ?
> g ? h : i
> : j;
>
>> Equivalent Lisp, for comparison:
>>
>> (setf a (cond (b (if c d e))
>> (f (if g h i))
>> (t j)))
>
> You can’t avoid the parentheses, but this, too, can be improved:
>
> (setf a
> (cond
> (b
> (if c d e)
> )
> (f
> (if g h i)
> )
> (t
> j
> )
> ) ; cond
> )

Sorry, but that is not an improvement but rather an abomination.

'Andreas
--
ceterum censeo redmondinem esse delendam

Subject: Trading insults about Lisp coding styles (Was: Command Languages Versus Programming Languages)
From: Kenny McCormack
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: The official candy of the new Millennium
Date: Thu, 8 Aug 2024 16:05 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gazelle@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Trading insults about Lisp coding styles (Was: Command Languages Versus Programming Languages)
Date: Thu, 8 Aug 2024 16:05:54 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <v92qd2$fd84$1@news.xmission.com>
References: <uu54la$3su5b$6@dont-email.me> <v8sleh$1g9s4$1@dont-email.me> <v8ubtt$1u86k$1@dont-email.me> <87ttfv6np9.fsf@eder.anydns.info>
Injection-Date: Thu, 8 Aug 2024 16:05:54 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="505092"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
View all headers

In article <87ttfv6np9.fsf@eder.anydns.info>,
Andreas Eder <a_eder_muc@web.de> wrote:
....
>Sorry, but that is not an improvement but rather an abomination.

I suggest to one and all that you all continue throwing barbs at each other
under this revised thread Subject: header.

It will make it much easier for the rest of us to filter it out.

Thank you.

--
Atheism:
It's like being the only sober person in the car, and nobody will let you drive.

Subject: Re: Command Languages Versus Programming Languages
From: Lawrence D'Oliv
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Thu, 8 Aug 2024 23:41 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: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Command Languages Versus Programming Languages
Date: Thu, 8 Aug 2024 23:41:55 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 5
Message-ID: <v93l43$b31t$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me>
<LISP-20240402085115@ram.dialup.fu-berlin.de>
<LISP-20240402091729@ram.dialup.fu-berlin.de>
<wrap-20240402092558@ram.dialup.fu-berlin.de> <uui7hf$3gona$1@dont-email.me>
<uuj1o5$3pvnq$1@dont-email.me> <87plv6jv1i.fsf@nosuchdomain.example.com>
<wwv5xwyifq8.fsf@LkoBDZeT.terraraq.uk>
<if-20240404121825@ram.dialup.fu-berlin.de> <uund4g$ugsb$1@dont-email.me>
<uup8ul$1fr2t$1@dont-email.me>
<indentation-20240405183703@ram.dialup.fu-berlin.de>
<v8sleh$1g9s4$1@dont-email.me> <v8ubtt$1u86k$1@dont-email.me>
<87ttfv6np9.fsf@eder.anydns.info>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 09 Aug 2024 01:41:56 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7a332b69acaf1db43799666c547f64c9";
logging-data="363581"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19/4onktbXaXjL5b3K7B5xd"
User-Agent: Pan/0.159 (Vovchansk; )
Cancel-Lock: sha1:R+Slj5prlk4wkcIMdS7lZzkt24I=
View all headers

On Thu, 08 Aug 2024 17:25:54 +0200, Andreas Eder wrote:

> Sorry, but that is not an improvement but rather an abomination.

Aw, diddums.

Subject: Re: Command Languages Versus Programming Languages
From: Kaz Kylheku
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Fri, 9 Aug 2024 00:07 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: 643-408-1753@kylheku.com (Kaz Kylheku)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Command Languages Versus Programming Languages
Date: Fri, 9 Aug 2024 00:07:25 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <20240808170555.397@kylheku.com>
References: <uu54la$3su5b$6@dont-email.me>
<LISP-20240402085115@ram.dialup.fu-berlin.de>
<LISP-20240402091729@ram.dialup.fu-berlin.de>
<wrap-20240402092558@ram.dialup.fu-berlin.de>
<uui7hf$3gona$1@dont-email.me> <uuj1o5$3pvnq$1@dont-email.me>
<87plv6jv1i.fsf@nosuchdomain.example.com>
<wwv5xwyifq8.fsf@LkoBDZeT.terraraq.uk>
<if-20240404121825@ram.dialup.fu-berlin.de> <uund4g$ugsb$1@dont-email.me>
<uup8ul$1fr2t$1@dont-email.me>
<indentation-20240405183703@ram.dialup.fu-berlin.de>
<v8sleh$1g9s4$1@dont-email.me> <v8ubtt$1u86k$1@dont-email.me>
<87ttfv6np9.fsf@eder.anydns.info> <v93l43$b31t$1@dont-email.me>
Injection-Date: Fri, 09 Aug 2024 02:07:25 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="55a0cda964873bc28d399539d9ad18f7";
logging-data="371397"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18flLVTQ5yg+V/UQZDSZXL68vcQSiDwQ1I="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:mjhAa1PccAZCkAHDk67CKSF/duM=
View all headers

On 2024-08-08, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
> On Thu, 08 Aug 2024 17:25:54 +0200, Andreas Eder wrote:
>
>> Sorry, but that is not an improvement but rather an abomination.
>
> Aw, diddums.

Yep! That's a magic word that will supposedly get your
idio(syncra)tically formatted commit on the approval fast track.

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

Subject: Re: Command Languages Versus Programming Languages
From: Sebastian
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Sun, 25 Aug 2024 07:32 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: sebastian@here.com.invalid (Sebastian)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Command Languages Versus Programming Languages
Date: Sun, 25 Aug 2024 07:32:26 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 54
Message-ID: <vaemm8$1q5l3$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <LISP-20240402091729@ram.dialup.fu-berlin.de> <wrap-20240402092558@ram.dialup.fu-berlin.de> <uui7hf$3gona$1@dont-email.me> <uuj1o5$3pvnq$1@dont-email.me> <87plv6jv1i.fsf@nosuchdomain.example.com> <wwv5xwyifq8.fsf@LkoBDZeT.terraraq.uk> <if-20240404121825@ram.dialup.fu-berlin.de> <uund4g$ugsb$1@dont-email.me> <uup8ul$1fr2t$1@dont-email.me> <indentation-20240405183703@ram.dialup.fu-berlin.de> <v8sleh$1g9s4$1@dont-email.me> <v8ubtt$1u86k$1@dont-email.me>
Injection-Date: Sun, 25 Aug 2024 09:32:26 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9279a399661a58fbc808a307433981c4";
logging-data="1906339"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ztU4y1kTYT7WfpLifqD4iNdBvHnZvX6A="
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-18-amd64 (x86_64))
Cancel-Lock: sha1:xMy9/VCcJpeMiyJ8/TnXZGVE6bo=
View all headers

In comp.unix.programmer Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
> On Tue, 6 Aug 2024 08:04:35 -0000 (UTC), Sebastian wrote:
>
>> Better:
>>
>> a = b ? (c ? d : e) :
>> f ? (g ? h : i) :
>> j;
>
> Better still (fewer confusing parentheses):
>
> a =
> b ?
> c ? d : e
> : f ?
> g ? h : i
> : j;

I find this more confusing than the parentheses.

>> Equivalent Lisp, for comparison:
>>
>> (setf a (cond (b (if c d e))
>> (f (if g h i))
>> (t j)))
>
> You can?t avoid the parentheses, but this, too, can be improved:
>
> (setf a
> (cond
> (b
> (if c d e)
> )
> (f
> (if g h i)
> )
> (t
> j
> )
> ) ; cond
> )

If you insist on writing Lisp like that, you might as well do
this:

(ql:quickload :with-c-syntax)
(named-readtables:in-readtable with-c-syntax:with-c-syntax-readtable)

#{
a = b ? (c ? d : e) :
f ? (g ? h : i) :
j;
#}

Subject: Re: Command Languages Versus Programming Languages
From: Lawrence D'Oliv
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Sun, 25 Aug 2024 07:48 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
Subject: Re: Command Languages Versus Programming Languages
Date: Sun, 25 Aug 2024 07:48:17 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <vaenk1$1qao1$2@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me>
<LISP-20240402091729@ram.dialup.fu-berlin.de>
<wrap-20240402092558@ram.dialup.fu-berlin.de> <uui7hf$3gona$1@dont-email.me>
<uuj1o5$3pvnq$1@dont-email.me> <87plv6jv1i.fsf@nosuchdomain.example.com>
<wwv5xwyifq8.fsf@LkoBDZeT.terraraq.uk>
<if-20240404121825@ram.dialup.fu-berlin.de> <uund4g$ugsb$1@dont-email.me>
<uup8ul$1fr2t$1@dont-email.me>
<indentation-20240405183703@ram.dialup.fu-berlin.de>
<v8sleh$1g9s4$1@dont-email.me> <v8ubtt$1u86k$1@dont-email.me>
<vaemm8$1q5l3$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 25 Aug 2024 09:48:17 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="34188c213084fda325f5b7302b43292b";
logging-data="1911553"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/88IYU3adTgIIG0TkNNWq0"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:jbFqcOA3/bdQ/JkEkLRIKIFlRSM=
View all headers

On Sun, 25 Aug 2024 07:32:26 -0000 (UTC), Sebastian wrote:

> In comp.unix.programmer Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>
>> a =
>> b ?
>> c ? d : e
>> : f ?
>> g ? h : i
>> : j;
>
> I find this more confusing than the parentheses.

Not accustomed to looking at source code in 2D? You have to feel your way
from symbol to symbol like brackets, rather than being able to see overall
shapes?

Subject: Re: Command Languages Versus Programming Languages
From: Sebastian
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Mon, 26 Aug 2024 16:13 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: sebastian@here.com.invalid (Sebastian)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Command Languages Versus Programming Languages
Date: Mon, 26 Aug 2024 16:13:33 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <vai9jb$2hae3$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uui7hf$3gona$1@dont-email.me> <uuj1o5$3pvnq$1@dont-email.me> <87plv6jv1i.fsf@nosuchdomain.example.com> <wwv5xwyifq8.fsf@LkoBDZeT.terraraq.uk> <if-20240404121825@ram.dialup.fu-berlin.de> <uund4g$ugsb$1@dont-email.me> <uup8ul$1fr2t$1@dont-email.me> <indentation-20240405183703@ram.dialup.fu-berlin.de> <v8sleh$1g9s4$1@dont-email.me> <v8ubtt$1u86k$1@dont-email.me> <vaemm8$1q5l3$1@dont-email.me> <vaenk1$1qao1$2@dont-email.me>
Injection-Date: Mon, 26 Aug 2024 18:13:33 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="2d5bd45c60d35f5f7bcc223031b80b8a";
logging-data="2664899"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/oP1LSnD5mon0uT8qS12cHI869BGZZYRM="
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-18-amd64 (x86_64))
Cancel-Lock: sha1:xd1NBUjl1a3TLrvByrC0fpxp0jM=
View all headers

In comp.unix.programmer Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
> On Sun, 25 Aug 2024 07:32:26 -0000 (UTC), Sebastian wrote:
>
>> In comp.unix.programmer Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>
>>> a =
>>> b ?
>>> c ? d : e
>>> : f ?
>>> g ? h : i
>>> : j;
>>
>> I find this more confusing than the parentheses.
>
> Not accustomed to looking at source code in 2D? You have to feel your way
> from symbol to symbol like brackets, rather than being able to see overall
> shapes?

Says the guy who finds a few brackets so confusing that he Black-formatted
a snippet of Lisp code.

Subject: Re: Command Languages Versus Programming Languages
From: Lawrence D'Oliv
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Mon, 26 Aug 2024 21:31 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
Subject: Re: Command Languages Versus Programming Languages
Date: Mon, 26 Aug 2024 21:31:20 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <vais78$2k7o6$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uui7hf$3gona$1@dont-email.me>
<uuj1o5$3pvnq$1@dont-email.me> <87plv6jv1i.fsf@nosuchdomain.example.com>
<wwv5xwyifq8.fsf@LkoBDZeT.terraraq.uk>
<if-20240404121825@ram.dialup.fu-berlin.de> <uund4g$ugsb$1@dont-email.me>
<uup8ul$1fr2t$1@dont-email.me>
<indentation-20240405183703@ram.dialup.fu-berlin.de>
<v8sleh$1g9s4$1@dont-email.me> <v8ubtt$1u86k$1@dont-email.me>
<vaemm8$1q5l3$1@dont-email.me> <vaenk1$1qao1$2@dont-email.me>
<vai9jb$2hae3$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 26 Aug 2024 23:31:20 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="eec8a5f8880ec9ebcfea2c2354da2438";
logging-data="2760454"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1++NeJ2NsEoClBxmnMEwv8l"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:TyDm58aIrKCqKpdVoU3an4Sf2cE=
View all headers

On Mon, 26 Aug 2024 16:13:33 -0000 (UTC), Sebastian wrote:

> In comp.unix.programmer Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>
>> On Sun, 25 Aug 2024 07:32:26 -0000 (UTC), Sebastian wrote:
>>
>>> In comp.unix.programmer Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>>
>>>> a =
>>>> b ?
>>>> c ? d : e
>>>> : f ?
>>>> g ? h : i
>>>> : j;
>>>
>>> I find this more confusing than the parentheses.
>>
>> Not accustomed to looking at source code in 2D? You have to feel your
>> way from symbol to symbol like brackets, rather than being able to see
>> overall shapes?
>
> Says the guy who finds a few brackets so confusing that he
> Black-formatted a snippet of Lisp code.

I use the same principles in all my code.

(And I have no idea about this “Black” thing. I just do my thing.)

Subject: Re: Command Languages Versus Programming Languages
From: Sebastian
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Tue, 27 Aug 2024 03:15 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: sebastian@here.com.invalid (Sebastian)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Command Languages Versus Programming Languages
Date: Tue, 27 Aug 2024 03:15:16 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <vajgc2$2qoj2$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uuj1o5$3pvnq$1@dont-email.me> <87plv6jv1i.fsf@nosuchdomain.example.com> <wwv5xwyifq8.fsf@LkoBDZeT.terraraq.uk> <if-20240404121825@ram.dialup.fu-berlin.de> <uund4g$ugsb$1@dont-email.me> <uup8ul$1fr2t$1@dont-email.me> <indentation-20240405183703@ram.dialup.fu-berlin.de> <v8sleh$1g9s4$1@dont-email.me> <v8ubtt$1u86k$1@dont-email.me> <vaemm8$1q5l3$1@dont-email.me> <vaenk1$1qao1$2@dont-email.me> <vai9jb$2hae3$1@dont-email.me> <vais78$2k7o6$1@dont-email.me>
Injection-Date: Tue, 27 Aug 2024 05:15:17 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="c272b04af259c394792dde53c800b5b3";
logging-data="2974306"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18OsDQ+k2XIWCFMCZ6Zpn+amwGgBszMYVI="
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-18-amd64 (x86_64))
Cancel-Lock: sha1:yzt36Q8UuqFqJmubm6aLjvCMv0Y=
View all headers

In comp.unix.programmer Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
> On Mon, 26 Aug 2024 16:13:33 -0000 (UTC), Sebastian wrote:
>
>> In comp.unix.programmer Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>>
>>> On Sun, 25 Aug 2024 07:32:26 -0000 (UTC), Sebastian wrote:
>>>
>>>> In comp.unix.programmer Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>
>> Says the guy who finds a few brackets so confusing that he
>> Black-formatted a snippet of Lisp code.
>
> I use the same principles in all my code. (And I have no idea about
> this ?Black? thing. I just do my thing.)

Black is a Python program that formats Python code
almost exactly the way you formatted that snippet of Lisp
code. It's just as ugly in Python as it is in Lisp. Black
spreads by convincing organizations to mandate its use. It's
utterly non-configurable on purpose, in order to guarantee
that eventually, all Python code is made to be as ugly
and unreadable as possible.

Subject: Re: Command Languages Versus Programming Languages
From: Lawrence D'Oliv
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Tue, 27 Aug 2024 04:44 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: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Command Languages Versus Programming Languages
Date: Tue, 27 Aug 2024 04:44:52 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <vajlk4$2rhoq$6@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uuj1o5$3pvnq$1@dont-email.me>
<87plv6jv1i.fsf@nosuchdomain.example.com>
<wwv5xwyifq8.fsf@LkoBDZeT.terraraq.uk>
<if-20240404121825@ram.dialup.fu-berlin.de> <uund4g$ugsb$1@dont-email.me>
<uup8ul$1fr2t$1@dont-email.me>
<indentation-20240405183703@ram.dialup.fu-berlin.de>
<v8sleh$1g9s4$1@dont-email.me> <v8ubtt$1u86k$1@dont-email.me>
<vaemm8$1q5l3$1@dont-email.me> <vaenk1$1qao1$2@dont-email.me>
<vai9jb$2hae3$1@dont-email.me> <vais78$2k7o6$1@dont-email.me>
<vajgc2$2qoj2$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 27 Aug 2024 06:44:52 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="0a410b51be7b0d25514a712e66466478";
logging-data="3000090"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18d9xjWzbej92SjW6xq0/3i"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:UBlFpbQtN9XGss4CrMp1cg7Gw/w=
View all headers

On Tue, 27 Aug 2024 03:15:16 -0000 (UTC), Sebastian wrote:

> In comp.unix.programmer Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>
>> (And I have no idea about this “Black” thing. I just do my thing.)
>
> Black is a [bla bla bla]

*Yawn*

Subject: Re: Command Languages Versus Programming Languages
From: Johanne Fairchild
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Tue, 27 Aug 2024 22:56 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: jfairchild@tudado.org (Johanne Fairchild)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Command Languages Versus Programming Languages
Date: Tue, 27 Aug 2024 19:56:50 -0300
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <87ikvlo9ql.fsf@tudado.org>
References: <uu54la$3su5b$6@dont-email.me> <uuj1o5$3pvnq$1@dont-email.me>
<87plv6jv1i.fsf@nosuchdomain.example.com>
<wwv5xwyifq8.fsf@LkoBDZeT.terraraq.uk>
<if-20240404121825@ram.dialup.fu-berlin.de>
<uund4g$ugsb$1@dont-email.me> <uup8ul$1fr2t$1@dont-email.me>
<indentation-20240405183703@ram.dialup.fu-berlin.de>
<v8sleh$1g9s4$1@dont-email.me> <v8ubtt$1u86k$1@dont-email.me>
<vaemm8$1q5l3$1@dont-email.me> <vaenk1$1qao1$2@dont-email.me>
<vai9jb$2hae3$1@dont-email.me> <vais78$2k7o6$1@dont-email.me>
<vajgc2$2qoj2$1@dont-email.me> <vajlk4$2rhoq$6@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 28 Aug 2024 00:56:58 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="cd3b3d6a730a2c93171b914ad0da6cc4";
logging-data="3326853"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Qs90Ez+N4eXD9FNZj+UJJH4fq/uoUUkk="
Cancel-Lock: sha1:4cfNrJ1q9n/ZdogK33hO9SWOILU=
sha1:AVQox9CcyCtKZO/Zla/KI/3A2io=
View all headers

Lawrence D'Oliveiro <ldo@nz.invalid> writes:

> On Tue, 27 Aug 2024 03:15:16 -0000 (UTC), Sebastian wrote:
>
>> In comp.unix.programmer Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>>
>>> (And I have no idea about this “Black” thing. I just do my thing.)
>>
>> Black is a [bla bla bla]
>
> *Yawn*

The guy was kindly and politely sharing information with you.

Subject: Re: Command Languages Versus Programming Languages
From: Lawrence D'Oliv
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Tue, 27 Aug 2024 23:26 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: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Command Languages Versus Programming Languages
Date: Tue, 27 Aug 2024 23:26:50 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <valnbq$35rt8$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uuj1o5$3pvnq$1@dont-email.me>
<87plv6jv1i.fsf@nosuchdomain.example.com>
<wwv5xwyifq8.fsf@LkoBDZeT.terraraq.uk>
<if-20240404121825@ram.dialup.fu-berlin.de> <uund4g$ugsb$1@dont-email.me>
<uup8ul$1fr2t$1@dont-email.me>
<indentation-20240405183703@ram.dialup.fu-berlin.de>
<v8sleh$1g9s4$1@dont-email.me> <v8ubtt$1u86k$1@dont-email.me>
<vaemm8$1q5l3$1@dont-email.me> <vaenk1$1qao1$2@dont-email.me>
<vai9jb$2hae3$1@dont-email.me> <vais78$2k7o6$1@dont-email.me>
<vajgc2$2qoj2$1@dont-email.me> <vajlk4$2rhoq$6@dont-email.me>
<87ikvlo9ql.fsf@tudado.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 28 Aug 2024 01:26:51 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="52d1e1001450c2fe7f8121ab25cdb228";
logging-data="3338152"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+q8WNuUHFhTVTQoN2+lvfb"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:DrGCwSotACTFILdGWwicvmbqot8=
View all headers

On Tue, 27 Aug 2024 19:56:50 -0300, Johanne Fairchild wrote:

> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>
>> On Tue, 27 Aug 2024 03:15:16 -0000 (UTC), Sebastian wrote:
>>
>>> In comp.unix.programmer Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>>>
>>>> (And I have no idea about this “Black” thing. I just do my thing.)
>>>
>>> Black is a [bla bla bla]
>>
>> *Yawn*
>
> The guy was kindly and politely sharing information with you.

Didn’t ask, didn’t know, didn’t care.

Subject: Re: Command Languages Versus Programming Languages
From: Johanne Fairchild
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Wed, 28 Aug 2024 00:08 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: jfairchild@tudado.org (Johanne Fairchild)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Command Languages Versus Programming Languages
Date: Tue, 27 Aug 2024 21:08:11 -0300
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <87h6b5mrv8.fsf@tudado.org>
References: <uu54la$3su5b$6@dont-email.me> <uuj1o5$3pvnq$1@dont-email.me>
<87plv6jv1i.fsf@nosuchdomain.example.com>
<wwv5xwyifq8.fsf@LkoBDZeT.terraraq.uk>
<if-20240404121825@ram.dialup.fu-berlin.de>
<uund4g$ugsb$1@dont-email.me> <uup8ul$1fr2t$1@dont-email.me>
<indentation-20240405183703@ram.dialup.fu-berlin.de>
<v8sleh$1g9s4$1@dont-email.me> <v8ubtt$1u86k$1@dont-email.me>
<vaemm8$1q5l3$1@dont-email.me> <vaenk1$1qao1$2@dont-email.me>
<vai9jb$2hae3$1@dont-email.me> <vais78$2k7o6$1@dont-email.me>
<vajgc2$2qoj2$1@dont-email.me> <vajlk4$2rhoq$6@dont-email.me>
<87ikvlo9ql.fsf@tudado.org> <valnbq$35rt8$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 28 Aug 2024 02:08:18 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="cd3b3d6a730a2c93171b914ad0da6cc4";
logging-data="3346207"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+KrQ0nVU5hnxmV56i8AXDBB1Lm7FtDVOQ="
Cancel-Lock: sha1:y4BMsm7S6lXF0g6niv7HVIXkFhQ=
sha1:FOQOk9Ztqjw/TGWfza/Ct7ma2wU=
View all headers

Lawrence D'Oliveiro <ldo@nz.invalid> writes:

> On Tue, 27 Aug 2024 19:56:50 -0300, Johanne Fairchild wrote:
>
>> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>>
>>> On Tue, 27 Aug 2024 03:15:16 -0000 (UTC), Sebastian wrote:
>>>
>>>> In comp.unix.programmer Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>>>>
>>>>> (And I have no idea about this “Black” thing. I just do my thing.)
>>>>
>>>> Black is a [bla bla bla]
>>>
>>> *Yawn*
>>
>> The guy was kindly and politely sharing information with you.
>
> Didn’t ask, didn’t know, didn’t care.

Knock yourself out. You have the freedom to disdain. But this is the
USENET---we don't need to ask for anything here. Every post is an
invitation for conversation (to the interested ones).

Subject: Re: Command Languages Versus Programming Languages
From: Lawrence D'Oliv
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Wed, 28 Aug 2024 00:09 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: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Command Languages Versus Programming Languages
Date: Wed, 28 Aug 2024 00:09:37 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <valps1$35rt8$13@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uuj1o5$3pvnq$1@dont-email.me>
<87plv6jv1i.fsf@nosuchdomain.example.com>
<wwv5xwyifq8.fsf@LkoBDZeT.terraraq.uk>
<if-20240404121825@ram.dialup.fu-berlin.de> <uund4g$ugsb$1@dont-email.me>
<uup8ul$1fr2t$1@dont-email.me>
<indentation-20240405183703@ram.dialup.fu-berlin.de>
<v8sleh$1g9s4$1@dont-email.me> <v8ubtt$1u86k$1@dont-email.me>
<vaemm8$1q5l3$1@dont-email.me> <vaenk1$1qao1$2@dont-email.me>
<vai9jb$2hae3$1@dont-email.me> <vais78$2k7o6$1@dont-email.me>
<vajgc2$2qoj2$1@dont-email.me> <vajlk4$2rhoq$6@dont-email.me>
<87ikvlo9ql.fsf@tudado.org> <valnbq$35rt8$1@dont-email.me>
<87h6b5mrv8.fsf@tudado.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 28 Aug 2024 02:09:37 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="52d1e1001450c2fe7f8121ab25cdb228";
logging-data="3338152"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Kv4kqzLszm5aznQAO4wUm"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:GNWurgidg91rdFQQHZYvv1ixUe4=
View all headers

On Tue, 27 Aug 2024 21:08:11 -0300, Johanne Fairchild wrote:

> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>
>> On Tue, 27 Aug 2024 19:56:50 -0300, Johanne Fairchild wrote:
>>
>>> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>>>
>>>> On Tue, 27 Aug 2024 03:15:16 -0000 (UTC), Sebastian wrote:
>>>>
>>>>> In comp.unix.programmer Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>>>>>
>>>>>> (And I have no idea about this “Black” thing. I just do my thing.)
>>>>>
>>>>> Black is a [bla bla bla]
>>>>
>>>> *Yawn*
>>>
>>> The guy was kindly and politely sharing information with you.
>>
>> Didn’t ask, didn’t know, didn’t care.
>
> Knock yourself out. You have the freedom to disdain.

I was “disdaining” something even the poster who mentioned it didn’t seem
to think much of.

Subject: Re: Command Languages Versus Programming Languages
From: Keith Thompson
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: None to speak of
Date: Wed, 28 Aug 2024 02:10 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: Keith.S.Thompson+u@gmail.com (Keith Thompson)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Command Languages Versus Programming Languages
Date: Tue, 27 Aug 2024 19:10:12 -0700
Organization: None to speak of
Lines: 33
Message-ID: <87mskxcs8r.fsf@nosuchdomain.example.com>
References: <uu54la$3su5b$6@dont-email.me> <uuj1o5$3pvnq$1@dont-email.me>
<87plv6jv1i.fsf@nosuchdomain.example.com>
<wwv5xwyifq8.fsf@LkoBDZeT.terraraq.uk>
<if-20240404121825@ram.dialup.fu-berlin.de>
<uund4g$ugsb$1@dont-email.me> <uup8ul$1fr2t$1@dont-email.me>
<indentation-20240405183703@ram.dialup.fu-berlin.de>
<v8sleh$1g9s4$1@dont-email.me> <v8ubtt$1u86k$1@dont-email.me>
<vaemm8$1q5l3$1@dont-email.me> <vaenk1$1qao1$2@dont-email.me>
<vai9jb$2hae3$1@dont-email.me> <vais78$2k7o6$1@dont-email.me>
<vajgc2$2qoj2$1@dont-email.me> <vajlk4$2rhoq$6@dont-email.me>
<87ikvlo9ql.fsf@tudado.org> <valnbq$35rt8$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 28 Aug 2024 04:10:15 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="1017e97994ee365b6a0a4b9b05fc05d0";
logging-data="3496974"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19IIDgMaP4BdG2d8h4HQiHH"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:jmbomLh8XYTKAZExEKMXaRmV3rc=
sha1:rZmQemTu9ERGoGrVJevHrHlEphc=
View all headers

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
> On Tue, 27 Aug 2024 19:56:50 -0300, Johanne Fairchild wrote:
>
>> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>>
>>> On Tue, 27 Aug 2024 03:15:16 -0000 (UTC), Sebastian wrote:
>>>
>>>> In comp.unix.programmer Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>>>>
>>>>> (And I have no idea about this “Black” thing. I just do my thing.)
>>>>
>>>> Black is a [bla bla bla]
>>>
>>> *Yawn*
>>
>> The guy was kindly and politely sharing information with you.
>
> Didn’t ask, didn’t know, didn’t care.

That's fine. But in normal polite society, if someone mentions
something and you go out of your way to say you don't know what it is,
that's commonly interpreted as a request for more information about it.

There are a *lot* of things I don't care about. I express that by not
commenting on them.

Try to be less rude.

I'll assume that you don't care about this either; no need to tell us.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */

Subject: Re: Command Languages Versus Programming Languages
From: Bozo User
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Mon, 30 Sep 2024 20:04 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: anthk@disroot.org (Bozo User)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Command Languages Versus Programming Languages
Date: Mon, 30 Sep 2024 20:04:52 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <vdf094$2c9hb$4@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me>
<LISP-20240402085115@ram.dialup.fu-berlin.de>
<LISP-20240402091729@ram.dialup.fu-berlin.de>
<wrap-20240402092558@ram.dialup.fu-berlin.de>
<uui7hf$3gona$1@dont-email.me> <uuj1o5$3pvnq$1@dont-email.me>
<87plv6jv1i.fsf@nosuchdomain.example.com>
<wwv5xwyifq8.fsf@LkoBDZeT.terraraq.uk>
<if-20240404121825@ram.dialup.fu-berlin.de> <uund4g$ugsb$1@dont-email.me>
<uup8ul$1fr2t$1@dont-email.me>
<indentation-20240405183703@ram.dialup.fu-berlin.de>
<v8sleh$1g9s4$1@dont-email.me> <v8ubtt$1u86k$1@dont-email.me>
<20240807063938.329@kylheku.com> <v91sce$3qo2d$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 30 Sep 2024 22:04:53 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="a34d6f5221beabc0a05e77e5b08e5f7d";
logging-data="2500139"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1++lcu3WQ5IQO2NEzRJJyll"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:+KK+t4xNv5PAEkHKfyq+eqKktIk=
View all headers

On 2024-08-08, Muttley@dastardlyhq.com <Muttley@dastardlyhq.com> wrote:
> On Wed, 7 Aug 2024 13:43:10 -0000 (UTC)
> Kaz Kylheku <643-408-1753@kylheku.com> boringly babbled:
>>On 2024-08-06, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>>> Equivalent Lisp, for comparison:
>>>>
>>>> (setf a (cond (b (if c d e))
>>>> (f (if g h i))
>>>> (t j)))
>>>
>>> You can’t avoid the parentheses, but this, too, can be improved:
>>>
>>> (setf a
>>> (cond
>>> (b
>>> (if c d e)
>>> )
>>> (f
>>> (if g h i)
>>> )
>>> (t
>>> j
>>> )
>>> ) ; cond
>>> )
>>
>>Nobody is ever going to follow your idio(syncra)tic coding preferences
>>for Lisp, that wouldn't pass code review in any Lisp shop, and result in
>>patches being rejected in a FOSS setting.
>
> I'm not a Lisp dev, but the original looks far more readable to me.
> His definition of improvement seems to be obfuscation.
>
>

Cond can do if clauses by itself. Your code is overloaded.

1

rocksolid light 0.9.8
clearnet tor