Search

LEARNING A NEW PROGRAMMING LANGUAGE; DOES IT HAVE THE SAME ONE-TO-ONE MAPPING AS LEARNING A FOREIGN LANGUAGE?


I was reading a blog article recently, (forgotten the link), and a Manager remarked that soon most employees would have to learn reading code without even knowing how to program. It isn't a prophetic remark; I have seen that coming. I remember, years ago in secondary school, when we were taught Business courses, even if we intended taking science courses.

I was walking to the market when I overheard some conversation, in French, between two immigrants who came to work in Lagos. While English is the official language in Nigeria , where they were coming from, most probably Benin Republic or Togo, French is the official language.

Before the coming of our colonial masters, English or French were languages no one had ever heard of. Today, more than 80% of every African living in any country can speak these languages and some can write very well in it.

Professor Wole Soyinka, Nobel Laureate.

At the 60's, just when Nigeria became Independent, how many persons can boast of being able to speak The Queen's English? Mastering how to write in it was another Tale of two Cities . Today, after about three generations, Nigerians have won prizes for writing the English Language, even the highest of them all, the Noble Prize in Literature won by Wole Soyinka .

How does it work? Granted, education is at work, and so is acculturation, experience and I believe inheritance.

Would it work the same way with Programming languages?

I really didn't know if it would work the same way with programming languages. There is no one-to-one mapping between both fields, but they both serve as media for communication and soonest, I believe, there should be at least a smart phone that has as much power as a computer, if not a PC, in most homes in Nigeria. Would this have a pulling effect in making us learn programming languages as a medium of communication?

I know that it would involve much education, acculturation, experience and also, inheritance; but the basic problem is, do we take programming languages to be as important as foreign languages that they have to be learned?

I doubt so. Then, do we have to continue importing (or maybe downloading) most of the software we use, software which might not be fitted for our culture and educational needs?

Only time will tell.


follow me on twitter, @emeka_david or be a friend on facebook, nnaemeka david

WHY I SPENT THREE THOUSAND NAIRA DOWNLOADING A LINUX OS AND NEVER REGRETTED IT


Three months after I installed a Windows 7 operating system (OS), bought from Ikeja, (the only place to buy an Operating System when you live in Lagos), I got a nasty message on my desktop: “This copy of Windows is not genuine.” Thanks to Microsoft Corporation, I was using its operating system to do so much work like surf the Net, log onto Facebook and check my email, so I owe them a duty to use a genuine Windows. But like most of you, I didn't have the money to procure a genuine Windows, and even if I had the money, I have never seen anyone who used a genuine Windows.

I didn't want to commit another crime of uninstalling and installing the OS all over again, so I allowed the message to hunt me for several days. One day, I decided to switch to Linux.

I have not been disappointed with the switch to Linux ever since. It made my conscience easier and my load lighter that, even if by using a dual-OS laptop I could claim I do not deserve a guilty conscience before Microsoft Corp., I also deserve an OS that I can understand.

Now I know why getting a Linux distro is so much difficult at Ikeja. I spent sixty hours (60 hours) downloading the 3.6Gb Fedora 17 distribution and about three thousand naira (N3, 000) for that OS. I think the money and time was worth it.

I have felt freer and even when sometimes I use the Windows 7 system to surf the Net, I do not get that nasty feeling down my nerves whenever I see that message again: “This copy of Windows is not genuine.” This time, I wonder if I was guilty as charged, or even innocent and wrongly charged.

We have much to be thankful to the open source community.


follow me on twitter, @emeka_david or be a friend on facebook, nnaemeka david

BEEN PLAYING AROUND WITH LINUX. ENJOY MY FIRST BASH SCRIPT


I have been playing around with Linux, partly the reason why I have not posted on this blog for a long time. While playing with this script, my first bash script, I fell in love with it and decided to share it with you.

I am calling the script bells, because at the end of the script the system alerts you or calls for your attention. See the download links below.

For those who are not familiar with Linux, too bad!. Well, one day I will port it to Windows. One day!

What the script does is that when you initially call it, it asks you for the number of minutes you intend spending on your system.

I wrote it to keep a track of my computer time usage. I am sure most of you do read my other blog, the engagementink blog; the cartoon there of a similar thought-process must have been the trigger for this script. So, when you input the time in minutes, (fractions, negatives or alphabets are not allowed, only whole numbers), the system then starts a counter that begins counting the minutes until when it elapses, ringing bells to alert you.

On elapse, it then asks you if you want to exit the script or to continue running it. You'd usually continue if you intend spending more time on your system, but if not, the script exits and possibly, you have to shutdown your system and go on to do something else.

Now, what if you need to spend more time? Then, the script would ask if you want the counter to run for the same number of minutes as before, if you want to change the time duration, because you think rather than spend like thirty (30) minutes, you want just ten (10) minutes more to finish off a word processing file, it gives you the opportunity to change the duration for another run of the script.

At the end of it all, you might chose to exit, as I usually want to do after every hour.

Well, that is my first script written on a Linux system.

By the way, the script also listens for events or traps, such as when there is a call for all programs to terminate or when you decide that you do not want to wait for the initial number of minutes to expire; call of nature pending.
trap exitProg SIGINT ;
trap exitProg SIGTERM ;
trap exitProg SIGSTOP ;
If you use Linux, enjoy my first bash script.

I intend writing more; and telling you about them.

Nice weekend.

Download links:

Download bells.sh

Download update: bells-0.2.sh.

Just me solving problems and wondering why I was meant to be the poorest Lagosian on earth. :)


follow me on twitter, @emeka_david or be a friend on facebook, nnaemeka david

Matched content