You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to know that is it recommended to use Annotations or Attributes for docs? Which one is better? I've used annotations for years. Is it possible to convert to attributes somehow?
The text was updated successfully, but these errors were encountered:
The most useful thing about attributes is that IDEs fully support autocompletion with them; you can create docs rules without documentation. With annotations, it was a pain, especially when code highlighting worked incorrectly with annotations :)
Attributes are predominantly utilized in business logic, akin to attribute-based routing. In a certain sense, documentation can be considered optional, provided that it does not interfere with the program's functionality. When employing attributes, one must take into account the associated documentation during class reflection. However, some projects may not necessitate comprehensive documentation.
Hello,
I want to know that is it recommended to use Annotations or Attributes for docs? Which one is better? I've used annotations for years. Is it possible to convert to attributes somehow?
The text was updated successfully, but these errors were encountered: