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


Groups > comp.lang.python > #107525

Re: How much sanity checking is required for function inputs?

From Ian Kelly <ian.g.kelly@gmail.com>
Newsgroups comp.lang.python
Subject Re: How much sanity checking is required for function inputs?
Date 2016-04-23 19:29 -0600
Message-ID <mailman.18.1461461424.32212.python-list@python.org> (permalink)
References (6 earlier) <1461291613.433097.586174185.01BB7E37@webmail.messagingengine.com> <57199BA5.4000703@icloud.com> <5719ACBB.8020905@stoneleaf.us> <571C1AA8.8000202@icloud.com> <CALwzid=WAEBjDJyLqFu8ujO=v3Yv93O2SB6GmPQneMyk+4kA=A@mail.gmail.com>

Show all headers | View raw


On Sat, Apr 23, 2016 at 7:00 PM, Christopher Reimer
<christopher_reimer@icloud.com> wrote:
> On 4/21/2016 9:46 PM, Ethan Furman wrote:
>>
>> Oh! and Enum!!!  ;)
>
>
> OMG! I totally forgot about Enum. Oh, look. Python supports Enum. Now I
> don't have to roll my own!
>
> Hmm... What do we use Enum for? :)

Python enums are great. Sadly, they're still not quite as awesome as Java enums.

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


Thread

Re: How much sanity checking is required for function inputs? Ian Kelly <ian.g.kelly@gmail.com> - 2016-04-23 19:29 -0600

csiph-web