3 ms·
I agree. This doesn't seem much different to saying they're all objects. You still need to know what to expect inside the dictionary.
by robertlagrant 5y ago
I agree. This doesn't seem much different to saying they're all objects. You still need to know what to expect inside the dictionary.
- goatlover 5y agoThe difference being that objects have a class where you can look to see what fields it specifies.
- robertlagrant 5y agoSure, depending on the language. What I mean is having dictionaries doesn't mean you don't have to learn schemas.
- dan-robertson 5y agoJava doesn’t really have a nice interface for interacting with objects in general. Closure does have a nice interface for interacting with dictionaries. They have namespaces keyword symbols for keys which are much more ergonomic than typing strings, and they have lots of functions for modifying dictionaries. I think the big difference is in the philosophy of what the language thinks data is, and how the world ought to be modelled.