godot/core
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
..
config Rename the physics server run_on_thread project settings 2022-01-29 17:35:50 +01:00
crypto Merge pull request #56130 from Faless/mbedtls/2.28.0 2022-01-11 15:03:28 +01:00
debugger String: Add contains(). 2022-02-04 01:28:02 +05:45
error Add fflush to error macros 2022-02-05 12:31:54 +00:00
extension Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
input Merge pull request #56764 from madmiraal/fix-45592-2 2022-02-03 18:10:30 +01:00
io ResourceImporter: Restore default append logic for new importers 2022-02-07 09:47:16 +01:00
math Merge pull request #57729 from TechnoPorg/astar-fix-invalid-include 2022-02-07 00:35:42 +01:00
multiplayer [Net] Move RPC, Node cache out of MultiplayerAPI. 2022-02-05 02:00:23 +01:00
object Merge pull request #57562 from AnilBK/string-add-contains 2022-02-03 22:21:24 +01:00
os Replace use of OS::set_exit_code() by SceneTree::quit() in EditorNode 2022-01-18 13:09:30 +01:00
string Clarify SNAME usage 2022-02-08 09:21:10 +01:00
templates Remove RID_Owner.get_rid_by_index 2022-02-05 11:59:34 +01:00
variant Fix integer vector mul/div operators and bindings. 2022-02-06 13:34:41 +01:00
core_bind.cpp Delete orphaned property default for exit_code which is not exposed any more. 2022-01-19 23:25:54 -05:00
core_bind.h Merge pull request #56012 from bruvzg/wt🤎4 2022-01-17 13:26:15 +01:00
core_builders.py Use maximum zlib compression when generating editor translation headers 2021-10-29 19:07:48 +02:00
core_constants.cpp Improve locale detection. 2022-01-18 14:30:00 +02:00
core_constants.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
core_string_names.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
core_string_names.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
doc_data.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
doc_data.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
register_core_types.cpp [Net] New replication interface, spawner and synchronizer nodes. 2022-02-04 14:56:30 +01:00
register_core_types.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
SCsub SCons: List .gen.cpp sources explicitly to avoid globbing errors 2021-10-15 22:14:11 +02:00
typedefs.h Add nodiscard to core math classes to catch c++ errors. 2022-01-20 13:07:49 +00:00
version.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00