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/075498.html below:

why python annoys me

why python annoys meD-Man dsh8290 at rit.edu
Wed Apr 18 17:34:22 EDT 2001
On Wed, Apr 18, 2001 at 01:43:54PM +0200, Martin von Loewis wrote:
| neelk at alum.mit.edu (Neelakantan Krishnaswami) writes:
| 
| > Hi Paul, I think I will have to disagree with you on this point.  ints
| > and arrays are not objects in Java, whereas the corresponding things
| > in Python are. 
| 
| This is OT, but arrays in Java are objects. You create them with new,
| they follow an inheritance hierarchy, can be polymorphically passed
| where Object is allowed, and support introspection.

They are objects (of a sort, more like a C struct IMO), but they do
not inherit from java.lang.Object and thus can't be passed to a method
that wants a java.lang.Object.

Also where is the inheritance hierarchy for arrays you mentioned?

-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