Sujet : Re: Command Languages Versus Programming Languages
De : Muttley (at) *nospam* dastardlyhq.com
Groupes : comp.unix.shell comp.unix.programmer comp.lang.miscDate : 05. Apr 2024, 11:17:37
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <uuofjh$19pfd$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
On Thu, 4 Apr 2024 23:29:21 -0000 (UTC)
Lawrence D'Oliveiro <
ldo@nz.invalid> wrote:
On 4 Apr 2024 11:20:48 GMT, Stefan Ram wrote:
>
And let me tell you, when you start getting into that kind of nested
stuff with not parentheses in view, even the "?:" notation can start
looking pretty darn mysterious to some folks.
>
This is where indentation helps. E.g.
>
a =
b ?
c ? d : e
: f ?
g ? h : i
: j;
Just use brackets. Saves a lot of pain.