On Fri, Sep 9, 2022 at 3:02 PM Marc Nieper-Wißkirchen <[email protected]>
wrote:

Who argues this regularly outside the C or Python (or [insert any
> insufficiently functional programming language]) community?
>

There are two issues.  I use internal defines when the nested procedure is
sufficiently long or has to be reused.  I prefer external defines when
there is no dependency on closed-over variables.  Otherwise I use lambdas,
which is most of the time.


> See my "readability" remark above.
>

I have removed the word "readable", since it troubles you, but used a fair
amount (not all) of Amirouche's text.

As a side remark: Using `iota` like this shouldn't be used with great care
> as it constructs a list in memory which is then discarded.


Unless it is larger than the size of the GC nursery, it doesn't really cost
anything.

Reply via email to