Liste des Groupes | Revenir à cu programmer |
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.Indentation generally helps.
a =
b ?
c ? d : e
: f ?
g ? h : i
: j;
>
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").
Les messages affichés proviennent d'usenet.