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

Brett Cannon brett at python.org
Mon May 8 00:37:34 CEST 2006


On 5/7/06, Oleg Broytmann <phd at oper.phd.pp.ru> wrote:
>
> 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.



Checked exceptions are the worst feature of Java in my opinion.  =)


People poorly documenting should not force us to have to make up for their
carelessness.  We are all adults after all.

-Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-3000/attachments/20060507/dca33ce7/attachment.htm 


More information about the Python-3000 mailing list