So as you might have guessed that most people would say that their father or other relatives are their idol. but today i'm gonna talk about a person that has inspired me to become a better version of my self, and to work harder to achieve my goals.
Yet he is the world richest man but so simple at the same time, he wears normal people clothes doesn't bother with all the expensive things or materialistic things he built his business from the ground up to become one of the most successful businesses in history.
He calculates every move he makes he leads by example, and that inspires me to become like him but in my own way one of his sayings is "if you were born poor it's not your fault, But if you die poor it's your fault".
Did you guess who he is?.
Wednesday, October 30, 2019
Friday, October 25, 2019
Explaining the difference between Closures & OOP to a 10 years old kid
As we explained before about closures is to nest a global thing and make it not accessible to everyone but you cannot access it without the help of others,but that takes a lot of space from the house so what will we do?.
What if we wanted to nest the candy from everyone and make it more secret,let's say that there is not enough space in the house so we create something called (OOP) which uses the help of others to have the candy and return it to you, and sort it to you in attributes depending on the flavour and it will be yours only without taking much space.
What if we wanted to nest the candy from everyone and make it more secret,let's say that there is not enough space in the house so we create something called (OOP) which uses the help of others to have the candy and return it to you, and sort it to you in attributes depending on the flavour and it will be yours only without taking much space.
Wednesday, October 23, 2019
explaining closures to a 10 Years old kid.
Let's say that you have a box of candy in the living room (global variable).
And you are sitting in your room but you cannot access it, and nobody is allowed to access it except your brother, so you ask your brother to bring the candy to you thats what is called closures.
Assume you are main function and you recall your brother to bring the candy from the living room to you.
So just to recap closures are main function containing another function and we made the main function to nest the global variable and not make it accessible to others
Friday, October 18, 2019
Explaining the difference between Each () & Map () functions to a 7 years old kid.
Let us imagine i sent you to the shops without saying anything and you too your bag of sweets and went there and then you returned with nothing, that is the Each() function.
But the Map() function i send you to the shops with your own bag of sweets and told you to return with another bag of sweets (it doesen't matter if it's diffrent from the one you have) and you went and bought a new one but weren't allowed to eat from the old one, you were allowed to eat from the new one only.
So just to recap Each() function you go with a bag of sweets and comeback without buying anything,
and the Map() function you go with the bag of sweets and buy another one and eat the new one without touching the first one.
UNDERSTOOD.
Sofian SALEH
But the Map() function i send you to the shops with your own bag of sweets and told you to return with another bag of sweets (it doesen't matter if it's diffrent from the one you have) and you went and bought a new one but weren't allowed to eat from the old one, you were allowed to eat from the new one only.
So just to recap Each() function you go with a bag of sweets and comeback without buying anything,
and the Map() function you go with the bag of sweets and buy another one and eat the new one without touching the first one.
UNDERSTOOD.
Sofian SALEH
Wednesday, October 16, 2019
How does my perfect day looks like ?!
Well my perfect day starts depending on my collage leacture if it's an off day then i wake up early at 6:00 am, brushing my teeth and then praying. that takes about 15 to 20 minutes. Then i go for a jog for about half an hour just to wake up and start the day, then I go home and have breakfast usually i have tuna sandwich with tea and then i work on somethings related to collage either (preparing for an exam ...), it usually takes from 2 to 3 hours depinding on the subject. and then i have lunch. If it is a sunday i spend most of the day watching some football on TV. by 6:00 pm i go and meet my friends to chat and play football, then i go home check the internent for some news and by 11:00 pm i go to sleep.