Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #93515 > unrolled thread

Re: (side-)effects and ...

Started byRon Adam <ron3200@gmail.com>
First post2015-07-05 22:50 -0400
Last post2015-07-05 22:50 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: (side-)effects and ... Ron Adam <ron3200@gmail.com> - 2015-07-05 22:50 -0400

#93515 — Re: (side-)effects and ...

FromRon Adam <ron3200@gmail.com>
Date2015-07-05 22:50 -0400
SubjectRe: (side-)effects and ...
Message-ID<mailman.311.1436151072.3674.python-list@python.org>

On 07/05/2015 04:29 PM, Stefan Ram wrote:

>    But why do we not have a common and well-known term for
>    the counterpart, that something does not modify the state
>    of the world, but that the state of the world does
>    influence the value (behaviour) of a call such as
>    »datetime.datetime.now().time()«?
>
>    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?

Variables that are changed from an outside environment are "Volatile".

https://en.wikipedia.org/wiki/Volatile_%28computer_programming%29

It isn't used in python, though I think maybe it should be.

Cheers,
    Ron

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web