Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #107578
| From | Michael Selik <michael.selik@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: How much sanity checking is required for function inputs? |
| Date | 2016-04-25 01:02 +0000 |
| Message-ID | <mailman.62.1461546171.32212.python-list@python.org> (permalink) |
| References | (13 earlier) <571c5e72$0$1615$c3e8da3$5496439d@news.astraweb.com> <CAGgTfkOXzfdASq7h4+0n3wokpmQmTREZ7Kzd_Qbog-hZ5HM7MA@mail.gmail.com> <mailman.30.1461480050.32212.python-list@python.org> <571d09aa$0$1618$c3e8da3$5496439d@news.astraweb.com> <CAGgTfkPyX7JVxGEXXqb1EBSORKXUYzg2_6HncZ2zqHnFJ5Ejsw@mail.gmail.com> |
On Sun, Apr 24, 2016 at 2:08 PM Steven D'Aprano <steve@pearwood.info> wrote: > On Sun, 24 Apr 2016 04:40 pm, Michael Selik wrote: > > I think we're giving mixed messages because we're conflating > "constants" and globals that are expected to change. > > When you talk about "state", that usually means "the current state of the > program", not constants. math.pi is not "state". > Perhaps I was unclear. You provided an example of what I was trying to point out.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: How much sanity checking is required for function inputs? Michael Torrie <torriem@gmail.com> - 2016-04-23 20:34 -0600
Re: How much sanity checking is required for function inputs? Steven D'Aprano <steve@pearwood.info> - 2016-04-24 15:49 +1000
Re: How much sanity checking is required for function inputs? Michael Selik <michael.selik@gmail.com> - 2016-04-24 06:40 +0000
Re: How much sanity checking is required for function inputs? Steven D'Aprano <steve@pearwood.info> - 2016-04-25 04:00 +1000
Re: How much sanity checking is required for function inputs? Michael Selik <michael.selik@gmail.com> - 2016-04-25 01:02 +0000
csiph-web