4 ms·
Deep nesting makes it harder for accessing data through a systematic way. If you are accessing a deep nested data that means you have to account for layers of
by anyfactor 5y ago
Deep nesting makes it harder for accessing data through a systematic way.
If you are accessing a deep nested data that means you have to account for layers of existence of keys. If cpu exist then see if speed exist then access speed. Nothing wrong with deep nesting as long as you can guarantee a key and data will be generated but more often than not when the data is not being generated the JSON data and the key will not simply exist.
And people do get carried away with nesting. Also it is nice to have core information available at the surface level of JSON file.