From 2dd5e85299c55bb3be7e0bc1cdb8c31c5de3643c Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sun, 17 Mar 2024 17:52:52 -0500 Subject: [PATCH] update contributing guidelines --- CONTRIBUTING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: