Skip to content

Commit

Permalink
Rephrase dictionary description in Advanced GDScript
Browse files Browse the repository at this point in the history
  • Loading branch information
tetrapod00 committed Dec 15, 2024
1 parent 19f5643 commit fdfa3ea
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tutorials/scripting/gdscript/gdscript_advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fdfa3ea

Please sign in to comment.