Deutsch English Français Italiano |
<20240807063938.329@kylheku.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Kaz Kylheku <643-408-1753@kylheku.com> 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= Bytes: 2377 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