FlowingCode / DevelopmentConventions

Repository hosting conventions, decisions and documentation related to best coding practices that can be utilized in development projects
Apache License 2.0
7 stars 0 forks source link

Javadoc style guide: use of `<code>` vs `{@code}` #39

Open javier-godoy opened 3 weeks ago

javier-godoy commented 3 weeks ago

Which one (if any) is preferred?

{@code List<String>} 

or

<code>List&lt;String&gt;</code>
javier-godoy commented 3 weeks ago

I think we should favor {@code} unless the <code> has a closing brace } </code>