Liste des Groupes | Revenir à cl misc |
On Wed, 7 Aug 2024 13:43:10 -0000 (UTC)
Kaz Kylheku <643-408-1753@kylheku.com> boringly babbled:On 2024-08-06, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:>>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
)
Nobody is ever going to follow your idio(syncra)tic coding preferences
for Lisp, that wouldn't pass code review in any Lisp shop, and result in
patches being rejected in a FOSS setting.
I'm not a Lisp dev, but the original looks far more readable to me.
His definition of improvement seems to be obfuscation.
>
>
Les messages affichés proviennent d'usenet.