Skip to content

Commit 47d39d9

Browse files
authored
Merge pull request #10413 from tetrapod00/be-nice-to-c
Rephrase dictionary description in Advanced GDScript
2 parents 8b36717 + fdfa3ea commit 47d39d9

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tutorials/scripting/gdscript/gdscript_advanced.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -230,11 +230,9 @@ Or unordered sets:
230230
Dictionaries
231231
------------
232232

233-
Dictionaries are a powerful tool in dynamically typed languages.
234-
Most programmers that come from statically typed languages (such as C++
235-
or C#) ignore their existence and make their life unnecessarily more
236-
difficult. This datatype is generally not present in such languages (or
237-
only in limited form).
233+
Dictionaries are a powerful tool in dynamically typed languages. In
234+
GDScript, untyped dictionaries can be used for many cases where a statically
235+
typed language would tend to use another data structure.
238236

239237
Dictionaries can map any value to any other value with complete
240238
disregard for the datatype used as either key or value. Contrary to

0 commit comments

Comments
 (0)