godot/core/string
reduz 38232c70db Clarify SNAME usage
* Explain where it should be used, with examples.
* Clarify that it should _not_ be used everywhere, only where needed.
* Supersedes #57720

This PR is the result of the discussion that happened in a contractor meeting, and it attempts to clarify the intended use for this macro for other contributors.
As a personal note, It is my view that other approaches to using SNAME (like having a global or per class table of string names) are mere overengineering without any real benefit (performance remains the same, and usage of stringnames becomes more cumbersome. Additionally, there was not any significant amount of errors in name mismatching as a result of using strings since Godot was open sourced).
2022-02-08 09:21:10 +01:00
..
char_utils.h Cleanup and move char functions to the char_utils.h header. 2022-02-04 11:35:01 +02:00
locales.h Fix translation with multiple sources for the same language. 2022-01-24 18:58:16 +02:00
node_path.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
node_path.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
optimized_translation.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
optimized_translation.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
print_string.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
print_string.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
SCsub Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
string_buffer.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
string_builder.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
string_builder.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
string_name.cpp Fix false reporting unclaimed StringName at exit due to static refs 2022-01-20 22:09:03 +01:00
string_name.h Clarify SNAME usage 2022-02-08 09:21:10 +01:00
translation.cpp Cleanup and move char functions to the char_utils.h header. 2022-02-04 11:35:01 +02:00
translation.h Improve locale detection. 2022-01-18 14:30:00 +02:00
translation_po.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
translation_po.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
ucaps.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
ustring.cpp Cleanup and move char functions to the char_utils.h header. 2022-02-04 11:35:01 +02:00
ustring.h Cleanup and move char functions to the char_utils.h header. 2022-02-04 11:35:01 +02:00