Record access value by name #3291
Closed
cd155
started this conversation in
Show and tell
Replies: 1 comment 4 replies
-
Records can be statically checked (at compile time) to have the right fields. Dictionaries/hash table are dynamic structures that must do this checking at run-time, and this check can fail. They are only similar at a quite shallow level. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We can access the value in a record by a name. Is the record fundamental the same as the dictionary/hash table? They all access values by name.
Beta Was this translation helpful? Give feedback.
All reactions