Hi folks!
A newbie question (didn't have a lot of background in Java before learning Kotlin).
How do I know if there are existing notations annotations to help me to do certain things?
m
Michael Böiers
05/04/2021, 4:35 PM
You mean annotations?
✅ 1
🙌 1
s
Saharath Kleips
05/04/2021, 5:04 PM
This is a pretty broad question, but perhaps it might help to figure out what are some use cases annotations are supposed to help solve?
So maybe read about annotations and aspected oriented programming for example and then when you encounter something that feels like “this could be solved with an annotation” you can Google it to see if it exists?
d
Dany
05/04/2021, 5:06 PM
Thanks for your answer @Saharath Kleips, but is there a more systematic way? What you suggested requires experience to have the "feels"
s
Saharath Kleips
05/04/2021, 5:10 PM
You don’t know what you don’t know 🤷
Since we’re in #spring I guess you could just go through all of the major spring libraries / libraries you’re using and see what annotations they expose.
🙌 1
Saharath Kleips
05/04/2021, 5:13 PM
Although I think just getting an overview of some cross cutting concerns and then just assuming Spring probably does it for you (because at times it seems to do everything for you) would probably save you a lot of time?