On Feb 3, 4:55 pm, jwd <[email protected]> wrote:
> This instance initializer syntax seems to get rediscovered every year
> or so.  The first identification as a Java idiom that I was aware of
> was Paul Holser'shttp://www.pholser.com/writings/concisions.htmlFWIW
> the language specification for this can be found 
> inhttp://java.sun.com/docs/books/jls/third_edition/html/classes.html#8.6

I first saw it on comp.lang.java.programmer (or similar) in 2002.
After a brief moment of wtf, if you know Java 1.1 you can see what it
is. Abusing inheritance to get an import has been around *for ever* -
it's a religion in GUI development.

Tom

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to