Gabriele Ferro Home

Objects and Basic Data Structures

Day30: 22 August 2020

Few days ago, I encountered some difficulties with my fifth OpenClassRooms project where I have to build a basic e-commerce website.

So I had to revise the notions regarding ES6, the promises, the classes and I was "more confused than persuaded" as we say in Italy. That's why I went back to freeCodeCamp again.

Someday, everything will make perfect sense. So for now, laugh at the confusion, smile through the tears, be strong and keep reminding your self that everything happens for a reason.


The section dealing with basic data structures was precisely the next category I needed to complete and was the one that suited me.

Colored drawers.

Data Structures are like drawers, a cupboard or a wardrobe.

We can use a Data Structure to store different objects and keep them organized, easy to retrieve, and manipulate.

The easiest Data Structure is the array. It is like a line of drawers, where the first drawer has a number ZERO label on it.

We can manipulate the array with several methods that allow us to:

While Objects are... objects?

But what is the difference between the two?

This article explains the difference very clearly.

**Today’s Progress:**

Completed the Basic Data Structure section of freeCodeCamp JavaScript Algorithms and Data Structures Certification.


Should I rewrite my fifth project using Objects instead of classes?

**Link to tweet:**

[twitter-follow screen_name='20Gabriele20']

June 2024


Gabriele Ferro Home
Copyright © Ferro Gabriele. All rights reserved.