Eli5: explain data structure from computer science to a non technical person.

754 views

How do I explain what is data structure to someone who has never programmed before?

In: 15

17 Answers

Anonymous 0 Comments

Data structures are 2 things. Imagine the following.

There is a lot of cookie dough. That’s all the memory a computer has.

The cutter/mould you use to make shapes. That’s a class. It gives your memory structure.

Now that you have this cutter, you can make cookies out of the dough (memory). These individual cookies are called objects.

You need to make different types of shapes based on what you want to do.

Data structures is just a fancy shmancy word for designing the cutters and making cookies out it.

You are viewing 1 out of 17 answers, click here to view all answers.