Sujet : Re: quotations
De : albert (at) *nospam* spenarnc.xs4all.nl
Groupes : comp.lang.forthDate : 10. Feb 2025, 14:50:55
Autres entêtes
Organisation : KPN B.V.
Message-ID : <nnd$7e4cc931$7ca147f2@75600d6418cd25d5>
References : 1 2 3 4
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <
9f5d42ff6471fb5bd1c209e39527b7cdf715546c@i2pn2.org>,
dxf <
dxforth@gmail.com> wrote:
On 10/02/2025 2:45 am, Anton Ertl wrote:
dxf <dxforth@gmail.com> writes:
What language do you know where
nested definitions are nameless?
>
Just to name a few: Lisp, Smalltalk, Postscript, Joy, Factor. A much
longer list can be found at
<https://en.wikipedia.org/wiki/Anonymous_function#List_of_languages>.
>
"The use of anonymous functions is a matter of style. Using them is never
the only way to solve a problem; each anonymous function could instead be
defined as a named function and called by name."
>
So it's a style - a fashion statement.
>
This remembers me of FORTRAN code long ago.
print( sin(t*x))
was too hard to understand.
It is recommended to do:
a = t*x
b= sin(a)
print(b)
See also my post about the dispatch table for lisp in this thread.
Groetjes Albert
-- Temu exploits Christians: (Disclaimer, only 10 apostles)Last Supper Acrylic Suncatcher - 15Cm Round Stained Glass- Style WallArt For Home, Office And Garden Decor - Perfect For Windows, Bars,And Gifts For Friends Family And Colleagues.