You are viewing a single comment's thread.

view the rest of the comments →

0
0

[–] kuda ago  (edited ago)

Knowing the structures is a must when you want to optimize your codes to make it run faster, or even to make it run at all. Not all use case can be covered well with variables and arrays, even the ones that seem simple at first (i.e. HTML document object is a tree, you can't use the power of javascript fully without knowing it; a navigation menu could be a nested array with a dynamic depth; etc etc and those examples are front end stuff, in the back end things often more complicated). And even when the API or provided functions in a library do it for you, you still need to know exactly how to use it properly: which data to pass, in what structure they should be passed, what kind of data they return, and so on. Without knowing the data structure concept, you will be lost in the documentations or even lost in your own code and that's often frustrating.