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


Groups > comp.lang.python > #93511

Re: (side-)effects and ...

Date 2015-07-05 15:36 -0500
From Tim Chase <python.list@tim.thechases.com>
Subject Re: (side-)effects and ...
References <effects-20150705220525@ram.dialup.fu-berlin.de>
Newsgroups comp.lang.python
Message-ID <mailman.307.1436135480.3674.python-list@python.org> (permalink)

Show all headers | View raw


On 2015-07-05 20:29, 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()«?

I believe the term is "idempotent"

https://en.wikipedia.org/wiki/Idempotent_function#Computer_science_meaning

-tkc

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: (side-)effects and ... Tim Chase <python.list@tim.thechases.com> - 2015-07-05 15:36 -0500

csiph-web