emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs]


From: Philippe Vaucher
Subject: Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs]
Date: Mon, 11 May 2020 11:44:21 +0200

> > The preference is a matter of taste.  If you have a taste for
> > Lisp, the former
> > seems totally natural.  If you don't, maybe it seems strange.
>
> IMHO it's not a matter of having a taste for Lisp or finding
> `(print (eval (read)))` 'natural' or not. I find it perfectly
> natural, but there are cases where it becomes difficult to read,
> especially when you nest not two or three but five or six function
> calls and/or when each function call has additional arguments,
> which may be function calls themselves.
>
> You can use `let*` to lay out such structures in a way that make
> them more readable. `->` and `->>` are even better than `let*` in
> this particular case, because you don't need the intermediate
> names.

Thanks for explaining my example better than I did. I couldn't find a
way to make people understand it but I think you did.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]