Gregory Ewing <greg.ew...@canterbury.ac.nz>:

> It's understandable that Java didn't originally have a typedef,
> because all types had short enough names anyway. But generics changed
> that in a big way, and it baffles me that some form of typedef wasn't
> added soon afterwards.

Java's opposition to typedef seems to be something fundamental and
philosophical, although I don't exactly understand what.

What people do then is they define classes and interfaces as typedefs,
which is even worse.


Marko
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to