瀏覽代碼

Merge pull request #10413 from tetrapod00/be-nice-to-c

Rephrase dictionary description in Advanced GDScript
Max Hilbrunner 7 月之前
父節點
當前提交
47d39d9048
共有 1 個文件被更改,包括 3 次插入5 次删除
  1. 3 5
      tutorials/scripting/gdscript/gdscript_advanced.rst

+ 3 - 5
tutorials/scripting/gdscript/gdscript_advanced.rst

@@ -230,11 +230,9 @@ Or unordered sets:
 Dictionaries
 ------------
 
-Dictionaries are a powerful tool in dynamically typed languages.
-Most programmers that come from statically typed languages (such as C++
-or C#) ignore their existence and make their life unnecessarily more
-difficult. This datatype is generally not present in such languages (or
-only in limited form).
+Dictionaries are a powerful tool in dynamically typed languages. In
+GDScript, untyped dictionaries can be used for many cases where a statically
+typed language would tend to use another data structure.
 
 Dictionaries can map any value to any other value with complete
 disregard for the datatype used as either key or value. Contrary to