Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.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: Sat, 6 Apr 2024 08:58:45 -0000 (UTC) Organization: A noiseless patient Spider Lines: 32 Message-ID: References: <20240329084454.0000090f@gmail.com> <20240329101248.556@kylheku.com> <20240329104716.777@kylheku.com> <20240330112105.553@kylheku.com> <87r0fp8lab.fsf@tudado.org> <87wmpg7gpg.fsf@tudado.org> <87plv6jv1i.fsf@nosuchdomain.example.com> Injection-Date: Sat, 06 Apr 2024 08:58:45 +0200 (CEST) Injection-Info: dont-email.me; posting-host="d81f18974ff1c6de54f7711b915d74e6"; logging-data="2103446"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19TxB/9r7cfyHT7662YZHnu" Cancel-Lock: sha1:98hNte1+tQP/IPCYowdAogplabw= Bytes: 2542 On 5 Apr 2024 17:37:52 GMT ram@zedat.fu-berlin.de (Stefan Ram) wrote: >Janis Papanagnou 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; > >>The parenthesis are not used for grouping, but are the alternative >>form for IF/THEN/ELSE/FI > > It's funny how the discussion oscillates between > "too many parentheses" (LISP code) and "not enough parentheses" > ("let me add some parens to improve readability"). Lisp overloads them as block markers which simply makes the code more confusing, not less.