A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/091013.html below:

Class Variable Question

Class Variable QuestionD-Man dsh8290 at rit.edu
Wed Apr 11 14:01:47 EDT 2001
On Wed, Apr 11, 2001 at 11:56:07AM +0200, Alex Martelli wrote:

...

| gain a bit more flexibility, but not much usefulness) -- other
| compile-time-typesafe languages such as Java (if it had some
| way to have constrained generics) would let you use 'Object'
| as the value-type, so you could in fact add anything.

Almost :

not  'int' , 'char' , 'float' , 'double' , 'byte' , 'short' , 'long' ,
and any of the above (including Object) in array form.

This is one reason I really like Python's object model much better
than Java's.

-D



More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4