Brett Ryan wrote:
> @Weiqi
> 
> Do you like using Introspector? ;) Okay it might be a tongue in cheek
> question, but I'd still much prefer being able to do
> foo.getDeclaredProperties() and have a PropertyDescriptor array
> returned without the penalty of the Introspector having to go and
> discover them.

I don't disagree with you.

Like I said, the JavaBeans API was written in another era for a 
destination that Java eventually did not go.  The hype was that in a 
couple years, you could buy ready made components on the commercial 
market and plug them into your Visual Cafe's GUI painter palette.

I will welcome properties and events support in the language level in 
Java.  And I will use those features if and when they become available 
and their usage appropriate to the task at hand.

Before then, the JavaBeans framework is the closest approximation.

It's one thing to be enthusiastic about adding your favorite features 
into the language.  It is entirely a different thing to carry out your 
daily work with the language and tools as they exist now.

Are we done with discussing properties?  Can we move on to

   + closures: BGGA, CICE, FSM, anyone?

   + generics: The Wall of Erasure?  Reifications?

   + XML literals

   + Regular expression literals

   + Multi-line strings

   + Removing wait(), notify(), notifyAll() from java.lang.Object

   + Putting Groovy into the JDK

   + Putting Google Guice into the JDK

   + Removing AWT Widgets from the JDK

   + Removing the HTML 3 parser/renderer from the JDK

   + Adding all 694 Apache Commons jars into the JDK, I'm tired of 
getting them one by one by one by one by one....

   + Heck, why don't we put Ant into the JDK?  Maven?

   + And ANTLR.  And don't forget to rewrite javac to use ANTLR

now?

-- 
Weiqi Gao
[EMAIL PROTECTED]
http://www.weiqigao.com/blog/

--~--~---------~--~----~------------~-------~--~----~
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