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).

--Chris

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

Reply via email to