The partnership of facebook and airtel in Africa gave birth to something called Free basics. Free basics is a service that allows people to access information on the internet for free (without paying for data subscription).
The little girl began to learn great stuff like the legendary "hello world", variables, assignments, operators etc. She was having the best time of her life or her mama's mobile phone.
She got to an important aspect of programming called conditions. Conditional statements help in decision making.
For example, a girl wants to separate her black dresses from the red ones. Lol, a funny thought just crossed my mind. Girls ain't the only ones that wear dresses nowadays, some boys also do and they call themselves cross-dressers. I won't mention names because this is not a gossip post. I am sorry for the diversion.
So, the girl prefers to keep her black dresses in the upper drawer of her closet and the red ones in the drawer below. Writing a conditional statement for this task will look like this:
if (dress.color == black){ // if dress is color black
push to upper drawer;
} else { // since we are arranging only red and black dresses we can assume that if the dress is not red it's black
push to lower drawer;
}
One on faithful day, her mom sent her to the next street to buy palm oil and eggs. She said and I quote
buy one bottle of palm oil, and if they have eggs, buy five
buy one bottle of palm oil, and if they have eggs, buy five
Getting home to her mama, her mama was furious. She wanted to spank her because she wondered how a girl as smart as her daughter couldn't run a simple errand. In protest, the little girl in between her sobs said: "Mama, I can explain.. I did exactly what you asked ". She picked up her school slate, hanged it on the wall and began to explain basic control flow to her mama right in front of their little house.
buy(OneBottleOfPalmOil); //Buy one bottle of palm oil
if ( eggIsAvailable) { //If they have eggs
buy(OneBottleOfPalmOil * 5) //Buy Five
}
People passing by stopped paid some attention to the little girl's explanation of conditional statements to her mama.
That was how a 7-year-old girl gave the first coding tutorial to half of her community without ever having access to a computer or the Internet.
Thanks for your time.
Nice one 😊
ReplyDeleteThanks alot. Means a lot to me
DeleteLooool. Cool
ReplyDeleteI once learnt coding during the 6months Asuu strike.
ReplyDeleteSince i didnt have a laptop to practice, i have forgotten all.
I regret it o. By now i could have been a code girl too.
Nice one oga captain Nigeria
I once learnt coding during the 6months Asuu strike.
ReplyDeleteSince i didnt have a laptop to practice, i have forgotten all.
I regret it o. By now i could have been a code girl too.
Nice one oga captain Nigeria
Immediately you get a laptop, let me know. It isn't too late, you will get back on your feet in no time. What languages when you learning then ?
DeleteNice one bro, keep it up
ReplyDeleteI will do my best to keep it up. Thanks
DeleteNice composition bro
ReplyDeleteYou know you kinda co-authored this.
Delete