DEV Community

Discussion on: Utilizing Macros & Annotations in a Web Framework

Collapse
 
jwoertink profile image
Jeremy Woertink

This is really awesome. I still don't quite understand annotations, but this at least helps me to understand how to use them!

Collapse
 
blacksmoke16 profile image
Blacksmoke16

Is there anything I could add to make it more clear? Or one of those, just have to use them more?

Collapse
 
jwoertink profile image
Jeremy Woertink

I think your examples are very clear. It's more of just wrapping my head around the concept of annotations in general. I've been trying to think of a reason I'd use them with all the stuff I currently work on, but I haven't come up with any examples where I'm like "oh man, annotations would save me here".

Thread Thread
 
blacksmoke16 profile image
Blacksmoke16 • Edited

This made me think of another example I could add in. See dev.to/blacksmoke16/utilizing-macr...

Hopefully this adds some extra context into determining when annotations could be a good idea.