Browse Source

Remove outdated guideline about `for` range loops being forbidden

`for` range loops are now implemented in Godot's data containers,
and using them is allowed.
Hugo Locurcio 3 years ago
parent
commit
49645532f7
1 changed files with 0 additions and 6 deletions
  1. 0 6
      community/contributing/cpp_usage_guidelines.rst

+ 0 - 6
community/contributing/cpp_usage_guidelines.rst

@@ -79,12 +79,6 @@ pull requests.
 We chose to forbid ``auto`` instead of allowing it on a case-by-case basis to
 We chose to forbid ``auto`` instead of allowing it on a case-by-case basis to
 avoid having to decide on difficult edge cases. Thank you for your understanding.
 avoid having to decide on difficult edge cases. Thank you for your understanding.
 
 
-``for`` range loop
-^^^^^^^^^^^^^^^^^^
-
-Don't use the ``for`` range loop syntax (``for (String string : some_array)``).
-Use traditional ``for`` loops instead as they're more explicit.
-
 Lambdas
 Lambdas
 ^^^^^^^
 ^^^^^^^