Talk:First Amoeba Video

From APIDesign

Revision as of 16:39, 23 August 2009 by JaroslavTulach (Talk | contribs)
Jump to: navigation, search

Comments on First Amoeba Video <comments />


Payne said ...

Code competion with annotations is not big aprovement. XML can have code completition too if we give XML Schema with it.

--Payne 17:14, 23 August 2009 (CEST)

True, XML has structure and there can be a completion, but annotations make it more easier and are more integrated with Java. Imagine:

public @interface ReferenceToJPanel {
  Class<? extends JPanel> myClass();
}

Each Java IDE will offer only subclasses of JPanel when code completing value of myClass attribute. This cannot be done with plain XML Schema (as it is not aware of Java and its classes hierarchy).

Moreover it looks more handy for majority of users (I have talked to) to edit just one language than switch from a Java file to an XML file and back. I think there is significant benefit of annotations over the XML and its schema (mixed with Java).

--JaroslavTulach 16:39, 23 August 2009 (UTC)

Personal tools
buy