"Strong typing vs. strong testing"

RG rNOSPAMon at flownet.com
Thu Sep 30 14:01:29 EDT 2010


In article <slrnia9fvi.307n.usenet-nospam at guild.seebs.net>,
 Seebs <usenet-nospam at seebs.net> 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. The numerical value 2 can 
safely be represented as an int, so I would consider this a false 
positive.
rg


More information about the Python-list mailing list

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