Skip to content

Commit fdfa3ea

Browse files
committed
Rephrase dictionary description in Advanced GDScript
1 parent 19f5643 commit fdfa3ea

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)