The Power of Metadata: How to Deal with Spaghetti Code

Written by sergeidzeboev | Published 2021/08/03
Tech Story Tags: java-annotations | annotations | metadata | java | power | annotations-power | spaghetti-code | coding

TLDR Most programming languages have this tool, and it is a very often used tool in many frameworks - annotations. In this article, I want to share with you one powerful tool that, in my experience, not all developers value. The solution that saved the application from this spaghetti code was annotations. Annotations are not the fastest solution in terms of execution time, it uses reflection to get parameters in runtime. But does the game worth it today when we have very powerful hardware? This question is for each of you to decide we would prefer a couple of seconds faster or readable and easy to support solution.via the TL;DR App

no story

Written by sergeidzeboev | Senior Java Developer
Published by HackerNoon on 2021/08/03