Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #93512
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: (side-)effects and ... |
| Date | 2015-07-05 19:12 -0400 |
| References | <effects-20150705220525@ram.dialup.fu-berlin.de> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.308.1436137983.3674.python-list@python.org> (permalink) |
On 7/5/2015 4:29 PM, Stefan Ram wrote: > And this is the intention of my post: Maybe there is such > a term, and I just missed to learn it so far? So, > do you know a term for the phenomenon that can be found > in Python but not in mathematics and consists in the state > of the world influencing the value of an expressions? non-determinate state-dependent In mathematics, 'pure' functions defined in terms of named functions, such as def f(x): return exp(sin(2*pi*x) + cos(2*pi*x)) are actually namespace dependent, but this is not counted as the local namespace (which here must contain exp, pi, sin, and cos) is considered to be write-once, read-forever. -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: (side-)effects and ... Terry Reedy <tjreedy@udel.edu> - 2015-07-05 19:12 -0400
csiph-web