On 6/11/07, Christopher Smith <[EMAIL PROTECTED]> wrote:
Somewhere long ago I bookmarked this page:

http://www.cs.arizona.edu/projects/sumatra/hallofshame/

Amazingly, it is still up. Anyway, they have a couple of examples of
"surprising" behavior in the Java language specification itself. It is
all entirely logical, but also entirely in violation of the principle of
least surprise. So you see, this kind of thing is part of Java's
heritage (and really, it is VERY difficult for programming languages to
avoid this sort of thing, as they are, by nature logical constructs).

That's definitely a pre-generics page or it would be a lot longer. Not
that I'm against generics, but I skimmed through a "Java generics
surprises" site once and was horrified. Don't have the URL handy, but
I think I found it via Bruce Eckel's site.

-Chuck

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to