Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connectionsPath: ...!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc Subject: Re: Command Languages Versus Programming Languages Date: Tue, 6 Aug 2024 23:34:22 -0000 (UTC) Organization: A noiseless patient Spider Lines: 38 Message-ID: References: <87plv6jv1i.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 07 Aug 2024 01:34:22 +0200 (CEST) Injection-Info: dont-email.me; posting-host="8e0bcc1e6c667f299b1c29714d183294"; logging-data="2040020"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+L1Z7UUSZXXO3EcUgFqzJi" User-Agent: Pan/0.159 (Vovchansk; ) Cancel-Lock: sha1:mzME3bcztqmJpoLx/Wh+B0EA/34= Bytes: 2196 On Tue, 6 Aug 2024 08:04:35 -0000 (UTC), Sebastian wrote: > Better: > > a = b ? (c ? d : e) : > f ? (g ? h : i) : > j; Better still (fewer confusing parentheses): a = b ? c ? d : e : f ? g ? h : i : j; > Equivalent Lisp, for comparison: > > (setf a (cond (b (if c d e)) > (f (if g h i)) > (t j))) You can’t avoid the parentheses, but this, too, can be improved: (setf a (cond (b (if c d e) ) (f (if g h i) ) (t j ) ) ; cond )