[OT] Java generics
Marko Rauhamaa
marko at pacujo.net
Mon Apr 18 05:11:36 EDT 2016
Gregory Ewing <greg.ewing at 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
More information about the Python-list
mailing list