Python from Wise Guy's Viewpoint

Joachim Durchholz joachim.durchholz at web.de
Sat Oct 25 09:05:09 EDT 2003


Marshall Spight wrote:

> "Pascal Costanza" <costanza at web.de> wrote:
> 
>>See the example of downcasts in Java.
> 
> Downcasts in Java are not a source of problems.

Huh?
Alone the need to downcast whenever I take something out of a container 
would suffice to term it as a "serious problem".
Unless you meant: it's not the downcasts that are the problem, it's the 
many language mechanisms that require downcasts that are.

Regards,
Jo





More information about the Python-list mailing list