AlgorithmCrackers / Interview-Questions

List of all the Interview questions practiced from online resources and books
246 stars 127 forks source link

JAVA: define and add annotations #8

Closed prakashn27 closed 9 years ago

prakashn27 commented 9 years ago

lets add annotations for author name, date defined, details

https://docs.oracle.com/javase/tutorial/java/annotations/declaring.html

This can be a best practice for java programs.

santhoshvai commented 9 years ago

This looks like a overkill for me. I dont remember seeing this even in google java code, where many best practices are mandatory. I may be wrong.; Show me an example code in github from the top tier employees if I am indeed wrong.

prakashn27 commented 9 years ago

I am using annotations in my experience. So thought this would be a good way. Anyway we can stick with the format which is good for all the languages.