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
crypto
debugger
error Add fflush to error macros 2022-02-05 12:31:54 +00:00
extension
input
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
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
core_bind.h
core_builders.py
core_constants.cpp
core_constants.h
core_string_names.cpp
core_string_names.h
doc_data.cpp
doc_data.h
register_core_types.cpp [Net] New replication interface, spawner and synchronizer nodes. 2022-02-04 14:56:30 +01:00
register_core_types.h
SCsub
typedefs.h
version.h