mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 17:28:58 +00:00
Update gdscript_styleguide.rst - clarified sentence and grammar (#9110)
* 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>
(cherry picked from commit 3d441150b1)
This commit is contained in:
@@ -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**:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user