3 ms·
Homogenous arrays are partly to make implementations easier, and because if you really need that flexibility, you can always use an array of inline tables, whic
by mojombo 8y ago
Homogenous arrays are partly to make implementations easier, and because if you really need that flexibility, you can always use an array of inline tables, which has the benefit of giving each sub-element a name, hopefully increasing the obviousness.
I'm not sure I understand your complaint, though, can you give me another example of how it's biting you in real life?
- epage 8y ago> you can always use an array of inline tables, which has the benefit of giving each sub-element a name, hopefully increasing the obviousness Except the name would be duplicated with the content I'm storing. As for an example, its effectively Cargo. My use case is very similar (dependency reporting) but my content is slightly different (as I said, the value would effectively duplicate the key)