5 ms·
> APIs should not present nested objects but normalised data If something is nested, let it be represented as a nested structure. I find flattening causes more
by ejflick 1y ago
> APIs should not present nested objects but normalised data
If something is nested, let it be represented as a nested structure. I find flattening causes more mental overhead. If something is too flat, it becomes less obvious what data is exactly necessary to do what you want to do