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


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

Re: (side-)effects and ...

Started byTim Chase <python.list@tim.thechases.com>
First post2015-07-05 15:37 -0500
Last post2015-07-05 15:37 -0500
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 ... Tim Chase <python.list@tim.thechases.com> - 2015-07-05 15:37 -0500

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

FromTim Chase <python.list@tim.thechases.com>
Date2015-07-05 15:37 -0500
SubjectRe: (side-)effects and ...
Message-ID<mailman.306.1436133359.3674.python-list@python.org>
On 2015-07-05 15:36, Tim Chase wrote:
> 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

Though I've also heard the term "pure function" for a similar meaning.

https://en.wikipedia.org/wiki/Pure_function

-tkc

[toc] | [standalone]


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


csiph-web