News for hackers. Stuff that matters.
Re:Java Annotations by pron on Saturday October 04, 2014 @12:29PM (#8409827)
As of Java 8, repeated annotations are allowed (and are backwards compatible). Also, Java 8 annotations now serve as the basis for Java's pluggable type systems[1].

One of the available pluggable type systems adds physical units, something that, AFAICT, is certainly not trivial even in Haskell[2].

So the author may not like the decision not to allow null values in annotation arguments, but Java annotations have actually become a very powerful tool.

[1]: http://blog.paralleluniverse.co/2014/05/01/modern-java/#adva...

[2]: http://www.haskell.org/haskellwiki/Physical_units

There are no comments on this comment yet.