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
Most methods outside of controller actions should have some level of documentation to describe their purpose.
The Yard syntax has been used well on some of the code, but this has not been used consistenly across the whole codebase.
TomDoc is a lightweight documentation syntax for Ruby that is used by many notable teams including GitHub. TomDoc provides the same features as yard, but is easier to write (and is more likely to be written).
TomDoc can be parsed by Yard to create the same automatically generated HTML documentation for developer reference.
We should decide on one of these documentation syntaxes (or RDoc) and enforce their use throughout the whole application.
Pros:
Provides developers with a better explanation of the intended function of given code.
Offers a pseudo-type-casting to add additional clarity to the contract for a given piece of code
Cons:
Developers will have to learn whatever syntax is decided on.
The text was updated successfully, but these errors were encountered:
Most methods outside of controller actions should have some level of documentation to describe their purpose.
The Yard syntax has been used well on some of the code, but this has not been used consistenly across the whole codebase.
TomDoc is a lightweight documentation syntax for Ruby that is used by many notable teams including GitHub. TomDoc provides the same features as yard, but is easier to write (and is more likely to be written).
TomDoc can be parsed by Yard to create the same automatically generated HTML documentation for developer reference.
We should decide on one of these documentation syntaxes (or RDoc) and enforce their use throughout the whole application.
Pros:
Cons:
The text was updated successfully, but these errors were encountered: