浏览代码

Rephrase dictionary description in Advanced GDScript

tetrapod00 9 月之前
父节点
当前提交
fdfa3ea66e
共有 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
 ------------
 ------------
 
 
-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
 Dictionaries can map any value to any other value with complete
 disregard for the datatype used as either key or value. Contrary to
 disregard for the datatype used as either key or value. Contrary to