dynamic data types
Steven Bethard
steven.bethard at gmail.com
Mon Jan 17 23:09:31 EST 2005
Paul Simmonds wrote:
> I would assume that they're refering to the fact that even the basic
> data types such as int are derived from object, and hence have methods:
>
>>>>int.__class__.__base__
>
> <type 'object'>
>
> Java, for example, has both an Integer object and a basic int data
> type. One word. Yuck.
Heh heh. Yeah, I can remember that annoyance well. I believe Java
1.5's supposed to have auto-boxing and -unboxing though, which should
make this less of a pain...
Steve
More information about the Python-list
mailing list