Java Annotations Are a Big Mistake

День 2 /  / Зал 2  /  RU / Get ready, will burn

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.

Yegor Bugayenko
Teamed.io

Yegor is a CTO at Teamed.io, a software development company with an extremely distributed working model; a VC at SeedRamp.com; a regular blogger at www.yegor256.com; author of Elegant Objects book; a proud holder of PMP and OCMEA certifications; a hands-on Java developer and a lead architect of rultor.com and takes.org. Yegor lives in Palo Alto, CA and Kyiv, Ukraine.

Contacts