On 17 April 2016 at 23:38, Ian Kelly <ian.g.ke...@gmail.com> wrote:
The diamond operator in JDK 7 makes this a lot more tolerable, IMO:
The diamond notation helps slightly, but not very much.
What would help a lot more would be something like C's
typedef for giving aliases to type expressions.
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.
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list