Browse Source

Add bang operator to gdscript style guide (#6828)

Thiago Lages de Alencar 2 years ago
parent
commit
6095b20174
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tutorials/scripting/gdscript/gdscript_styleguide.rst

+ 1 - 0
tutorials/scripting/gdscript/gdscript_styleguide.rst

@@ -414,6 +414,7 @@ Prefer the plain English versions of boolean operators, as they are the most acc
 
 
 - Use ``and`` instead of ``&&``.
 - Use ``and`` instead of ``&&``.
 - Use ``or`` instead of ``||``.
 - Use ``or`` instead of ``||``.
+- Use ``not`` instead of ``!``.
 
 
 You may also use parentheses around boolean operators to clear any ambiguity.
 You may also use parentheses around boolean operators to clear any ambiguity.
 This can make long expressions easier to read.
 This can make long expressions easier to read.