Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rephrase dictionary description in Advanced GDScript #10413

Merged
merged 1 commit into from
Dec 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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