Deutsch   English   Français   Italiano  
<indentation-20240405183703@ram.dialup.fu-berlin.de>

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

Path: ...!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Command Languages Versus Programming Languages
Date: 5 Apr 2024 17:37:52 GMT
Organization: Stefan Ram
Lines: 26
Expires: 1 Feb 2025 11:59:58 GMT
Message-ID: <indentation-20240405183703@ram.dialup.fu-berlin.de>
References: <uu54la$3su5b$6@dont-email.me> <uu636l$7haj$1@dont-email.me> <20240329084454.0000090f@gmail.com> <uu6om5$cmv8$1@dont-email.me> <20240329101248.556@kylheku.com> <uu6t9h$dq4d$1@dont-email.me> <20240329104716.777@kylheku.com> <uu8p02$uebm$1@dont-email.me> <20240330112105.553@kylheku.com> <uudrfg$2cskm$1@dont-email.me> <87r0fp8lab.fsf@tudado.org> <uuehdj$2hshe$1@dont-email.me> <87wmpg7gpg.fsf@tudado.org> <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>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de vXjtoikWKm8wzHnU2zvKCQ7vjSy2Q9hSiKE5YpVhQoTa3s
Cancel-Lock: sha1:MrYECv3UxwpioTtPeqT0ES0AMyg= sha256:PX9LQSXG5Pxxng9fDZNxNcL+pfDlNUWWdWMeoG1vR48=
X-Copyright: (C) Copyright 2024 Stefan Ram. All rights reserved.
	Distribution through any means other than regular usenet
	channels is forbidden. It is forbidden to publish this
	article in the Web, to change URIs of this article into links,
        and to transfer the body without this notice, but quotations
        of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
	services to mirror the article in the web. But the article may
	be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en-US
Bytes: 2831

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;

>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").