Skip to content

Commit

Permalink
doc: guidelines: add a note about ascii and emojis
Browse files Browse the repository at this point in the history
Add a note about source files encoding and emojis.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
  • Loading branch information
fabiobaltieri authored and carlescufi committed Apr 5, 2024
1 parent 4867c56 commit e9dceed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/contribute/guidelines.rst
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,8 @@ exceptions:
comment, ``//``, is not allowed.
* Use ``/** */`` for doxygen comments that need to appear in the documentation.
* Avoid using binary literals (constants starting with ``0b``).
* Avoid using non-ASCII symbols in code, unless it significantly improves
clarity, avoid emojis in any case.

When there are differences between the guidelines above and the formatting
generated by code formatting tools, the guidelines above take precedence.
Expand Down

0 comments on commit e9dceed

Please sign in to comment.