The Importance of Array Methods in JS [explained with food]
An Array is a data structure, possibly the most fundamental one!
"Okay, but what is a data structure?"
Short answer: It is just a structure where you can organize, modify, access, store, and retrieve data. And Data, my friends, is essential to what we do!
Alright, enough, you get the idea and understand the importance.
I struggled with this concept when I was starting and it took me a while to understand them because:
Thinking about imaginary data when you are learning is too abstract and boring.
I just learn them conceptually. Too much theory, and not enough practice.
How did I solve these issues?
- I related these Array methods to stuff that I did understand. It was suddenly not abstract anymore
If you know me, you know I LOVE food. So I prepared this little snippet relating food to some of the most used Array Methods:
- I practiced and actually tried out the methods.
Here is the first video of the playlist:
Hopefully, you can make the most out of these methods and make a big leap in your Development Career!