Annotations were introduced in Java 5, and we all got excited. Such a great instrument to make code shorter! No more Hibernate/Spring XML configuration files! Just annotations, right there in the code where we need them. No more marker interfaces, just a runtime-retained reflection-discoverable annotation! Egor was excited, too. Moreover, he has made a few open source libraries which use annotations heavily. Take jcabi-aspects, for example. However, Egor is not excited anymore. Moreover, he believes that annotations are a big mistake in Java design.
Download presentation