Posts

Showing posts from February, 2023

What are datatypes ?

What are Datatypes ? Did you read my first blog ? If you did not. Go read it right now.  I will like to turn your mind around a bit (Pun intended again.) When you see a person , What comes to your mind ?  This person might be my future partner.  This person is super hot.  We will name our kids bytes and bits.  How are you defining the person ? With some values !  They will have a name, age, body structure (if you're objectifying them) etc. These are all data that define that person. Names are always words, ages are always numbers. Let us take another example.  You want to eat a Burger (Or Pizza or whatever you want just get something to eat). How do you define it ? It has a name, a flavor, a  color and some ingredients you like.  These are the data which define your burger and they have types.  A name is of a type "Word". A flavor is of a type "Word". Computers are stupid just like you. They need to be told what kind of data you will provide. (Except dynamically