Skip to content

Commit

Permalink
Merge pull request #10413 from tetrapod00/be-nice-to-c
Browse files Browse the repository at this point in the history
Rephrase dictionary description in Advanced GDScript
  • Loading branch information
mhilbrunner authored Dec 16, 2024
2 parents 8b36717 + fdfa3ea commit 47d39d9
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 47d39d9

Please sign in to comment.