How much sanity checking is required for function inputs?

Michael Selik michael.selik at gmail.com
Sun Apr 24 21:02:33 EDT 2016


On Sun, Apr 24, 2016 at 2:08 PM Steven D'Aprano <steve at pearwood.info> wrote:
> On 2016年4月24日 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.


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /