Skip to content

Commit

Permalink
Update gdscript_styleguide.rst - clarified sentence and grammar (#9110)
Browse files Browse the repository at this point in the history
* Update gdscript_styleguide.rst - clarified sentence and grammar

- Clarified the statement on "One statement per line"
- Removed unclear sentence with incorrect grammar

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
  • Loading branch information
444B and AThousandShips committed Mar 21, 2024
1 parent 4857caa commit 3d44115
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tutorials/scripting/gdscript/gdscript_styleguide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ editor. For example, when looking at a differential revision.
One statement per line
~~~~~~~~~~~~~~~~~~~~~~

Never combine multiple statements on a single line. No, C programmers,
not even with a single line conditional statement.
Avoid combining multiple statements on a single line, including conditional
statements, to adhere to the GDScript style guidelines for readability.

**Good**:

Expand Down

0 comments on commit 3d44115

Please sign in to comment.