[Python-3000] Java type system and exceptions (was: duck typing)

Oleg Broytmann phd at mail2.phd.pp.ru
Sun May 7 23:51:57 CEST 2006


On Sun, May 07, 2006 at 02:24:08PM -0700, Bill Janssen wrote:
> I think that there is little of advantage in the Java type system to
> be adopted into Python.

   One thing from Java I really miss in Python - declaration what
exception(s) a function/method can raise. Almost nobody almost never
documents this, especially if the function/method calls other functions and
methods.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-3000 mailing list