Re: reading strings from terminal and writing them to a file
- From: Raffael Cavallaro <raffaelcavallaro@xxxxxxxxx>
- Date: Tue, 31 Mar 2009 08:11:51 -0700 (PDT)
On Mar 31, 11:01 am, pereges <Brol...@xxxxxxxxx> wrote:
Are there any advantages of using let over setf ?
<http://en.wikipedia.org/wiki/Scope_(programming)
#Static_versus_dynamic_scoping>
a partial quote referring to lexical scope (i.e., let, not setf):
"Because matching a variable to its binding only requires analysis of
the program text, this type of [static] scoping is sometimes also
called lexical scoping. Static scope is standard in modern functional
languages such as ML and Haskell because it allows the programmer to
reason as if variable bindings are carried out by substitution. Static
scoping also makes it much easier to make modular code and reason
about it, since its binding structure can be understood in isolation.
In contrast, dynamic scope forces the programmer to anticipate all
possible dynamic contexts in which the module's code may be invoked."
.
- References:
- reading strings from terminal and writing them to a file
- From: pereges
- Re: reading strings from terminal and writing them to a file
- From: Paul Donnelly
- Re: reading strings from terminal and writing them to a file
- From: pereges
- Re: reading strings from terminal and writing them to a file
- From: Marco Antoniotti
- Re: reading strings from terminal and writing them to a file
- From: pereges
- Re: reading strings from terminal and writing them to a file
- From: Mark Wooding
- Re: reading strings from terminal and writing them to a file
- From: pereges
- Re: reading strings from terminal and writing them to a file
- From: Pascal J. Bourguignon
- Re: reading strings from terminal and writing them to a file
- From: pereges
- reading strings from terminal and writing them to a file
- Prev by Date: Re: reading strings from terminal and writing them to a file
- Next by Date: Re: reading strings from terminal and writing them to a file
- Previous by thread: Re: reading strings from terminal and writing them to a file
- Next by thread: Re: reading strings from terminal and writing them to a file
- Index(es):
Relevant Pages
|