Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: John Ames Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc Subject: Re: Command Languages Versus Programming Languages Date: Mon, 8 Apr 2024 08:20:37 -0700 Organization: A noiseless patient Spider Lines: 26 Message-ID: <20240408082037.00002d7c@gmail.com> References: <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> <86frvzo01i.fsf@williamsburg.bawden.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Date: Mon, 08 Apr 2024 15:20:39 +0200 (CEST) Injection-Info: dont-email.me; posting-host="581b36d418059bd82314115abf68c909"; logging-data="3727444"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19MhvuPQT9OhC4bteQYN6AFytFUfpOioWY=" Cancel-Lock: sha1:8K8TtbnqAsHFUgqf/oiyv8m/yXk= X-Newsreader: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-w64-mingw32) Bytes: 2947 On Sat, 6 Apr 2024 00:25:45 -0000 (UTC) Lawrence D'Oliveiro wrote: > It=E2=80=99s like, I don=E2=80=99t know ... you=E2=80=99re trying to save= space. Why? >=20 > It=E2=80=99s like programming inside an apartment block, instead of havin= g a=20 > bungalow with a yard of your own. It's a matter of balance. Needlessly crunching things to fit onto a single line is hard to read, yes - but compulsively indenting and splitting across lines can get out of hand, too. It seems to me that a lot of people in this age of "cinematic" aspect ratios and super-sized displays in personal computing forget that eye-travel isn't free, and spreading information across maximal space can make it *harder* to keep track of context. Better, IMHO, to group operations in a way that logically reflects the structure of the program, to whatever extent that *A.* is syntactically feasible in $LANGUAGE, and *B.* doesn't crowd things to the point of hampering basic readability. (Of course, whether or not the ternary operator is fundamentally confusing is an entirely separate question.)