Open redben opened 10 years ago
make it obvious it's a reserved property and reduce the likelihood of collisions with existing plain json representations that might be being replaced with hal
Obviously :)
haha, not really - it's a fair question. comes up a lot
I'll reopen this, because the page should probably explain this more clearly
FWIW, this is use of underscore to inject a dissimilar item into bag ... sort of clever, and sort of not.
Yes, we have a history of usage like this in C and Python (and others), but those choices were also driven by history.
Personally, I much prefer putting metadata beside the data, not mingled in. Like: { widget: {... widget fields ...}, some_metadata: {}, }
Not: { ... widget fields .... _some_metadata: {} }
Not really important but why not just "links" without the underscore ?