In article <[email protected]>, Seebs <[email protected]> wrote:
> On 2010-09-30, RG <[email protected]> wrote: > > In article <[email protected]>, > > Seebs <[email protected]> wrote: > >> And that's the magic of static typing: It is not a false positive to > >> warn you that "2L" is not of type int. > > > We'll have to agree to disagree about that. > > No, we won't. It's the *definition* of static typing. Static typing > is there to give you some guarantees at the expense of not being able > to express some things without special extra effort. That's why it's > static. I don't want to quibble over terminology. Whatever label you choose to put on it ("false positive", "not being able to express some things without special extra effort") I consider it a deficiency. The costs are greater than the benefits. Reasonable people can (and obviously do) disagree. rg -- http://mail.python.org/mailman/listinfo/python-list
