diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 78cce40e3..7fd671d5d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -54,7 +54,8 @@ the coding style is described here: - in float/double operations, always use decimal and `f` if single-precision. - e.g. `1.0f` or `1.0` instead of `1`. - prefer `NULL` over `nullptr` or any other proprietary null. -- don't use `auto` unless needed. +- only use `auto` if needed. +- avoid using `goto` unless absolutely required. - use `String` for `std::string` (this is typedef'd in ta-utils.h). - prefer using operator for String (std::string) comparisons (a==""). - if you have to work with C strings, only use safe C string operations: