Skip to main content

Family Guy vs The Simpsons

What is your favourite animation series? I enjoy watching Family Guy. Growing up I used to read about how The Simpsons was a favourite of many. I am not going to do a comparison of the two anime but invite your comments.
A posted a poll on Twitter and Family Guy was voted as the best. What's your take?

Computer Programming, how to get started.

Writing a computer program is basically known as writing code by geeks, computer nerds or whatever you like to call them. I am a technology enthusiast with about five years experience in writing code just for fun and I know the challenges that beginners can face and how to overcome them. Let me start with the FAQs, frequently asked questions.

Do I need to be good in mathematics to do computer programming? The answer is a resounding NO. Your knowledge of mathematics should tally with the level of calculation if any, that your application is expected to carry out. A program to calculate BMI ratio (body to mass index ratio)  only needs the basics that is multiplication, division, addition and subtraction. A program like a cockpit simulator might need advanced mathematical principles and the system analyst creates the design which includes mathematical functions and therefore programmers do not need to know such advanced mathematical formulae. 

Which language is good for beginners? Most people online believe Python is a good starting point. Well, who am I to disagree with the majority, after all, I learnt Python first before I mastered other languages. Python is great because most of the time there is a 90% chance that every program you write will work, even if the outcome is not what you expected, so it takes out much of the frustration that you might face with other programming languages like Java or C which are heavily typed.

How should I practice writing code? You need to practise a few lines of code at first, for example, a program which asks a user to input their name and then displays the name on the screen. See the example below. Your first programs should perform basic calculations so that you can learn to handle different data types such as strings and numbers.
To be a great coder you need to stick to using basic tools which are: a text editor and a terminal like Windows Powershell and avoid using IDEs (Integrated Development Environments). However, if you are doing computer programming at college as part of a college program you are undertaking there might not be enough time to use the basic tools. Using basic tools gives you enough control and in-depth knowledge of how computers work. I learnt this principle from a book called 'Learn Python The Hard Way'.

Procedural versus Object Oriented. Both are acceptable, however, procedural is easy but uses more lines of code. Object-oriented programming is the best approach, especially when writing code for a client as it is in the industry's standards of best practices.

What should a coder bear in mind always? Once you learn one programming language you can master any language, there are a lot of similarities. My PHP tutor, I can't remember her name, once said, "Ten per cent of a coders time is spent writing code and ninety per cent reading code". Well, this is very true. Expect to spend much of your time troubleshooting and reading other people's code as well as making your code neat. Brevity is the key, after all, we write code to make our lives easier so always avoid repetition. Use commenting in your code to help people who will read your code understand what you were trying to do. In coding, there are many ways of killing a cat so there is no right way of writing a program but there is the best way of doing everything. Strive to be the best, write powerful code with few lines as possible.

If you have a question that you feel needs to be answered or any contribution or feedback, be at liberty to post it in the comments section. In my next article, I shall be writing about what I find interesting in the C programming language, I am new to it and I'm enjoying exploring it as I write this article.

Check out my Android Tutorials

 I am also currently working on a mobile app. You can visit my portfolio to learn more about my latest projects.


Popular posts from this blog

How to write and compile code as well as to publish android apps on a smartphone.

Getting Started
The most challenging part when getting started in developing mobile apps on a mobile device is finding the perfect Integrated Development Environment (IDE). Once you get the right IDE you might need to learn how to effectively use it before you can be productive. I have made all that easy by creating  a tutorial which covers all aspects from the tools you need and how to use the tools up to publishing your app. This article is just an overview of the course and you can jump into the tutorial  now
Prerequisites Prior knowledge of how to develop simple android applications is an advantage as this course mainly focuses on how to use smart phones in the development process and therefore does not dwell much on teaching an in-depth knowledge of how to create different types of Android apps. However, if you are totally new to Android development you can still be able to learn how to write code and complete this tutorial at the same time by reading Java for Dummies and Android d…

How Econet helped shape my career

I can code in several languages though I specialize in front-end web development, here is my portfolio , thanks to Econet Zimbabwe. 

During the  days when I started writing code in early 2014 I visited the Econet Zimbabwe website and found that they had some zero rated websites. This meant that, as an econet subscriber, I could access some sites for free without the need to buy any internet bundles.

The zero rated content was arranged into different categories and I headed to the education section where I started reading articles on coding. I enjoyed the tutorials titled "Learn Python The Hard Way". I followed most if not all the instructions on a PC I had assembled by myself. I became proficient in coding in Python.

My relationship with econet did not end in learning to code from zero rated content. In 2016 while attending a course in photojournalism I met a guy who was wowed by my achievements in coding at that time, by then I had already become a Google developer and I ha…

My top six social media apps

I have placed social media apps into six categories and I am going to tell you my favourite app in each and one of the categories. I have six classifications of social networking platforms namely: 1. Instant messaging apps2. Live streaming apps.3. Anonymous messaging apps.4. Blogging platforms.5. Video sharing apps.6. Image sharing apps.
 WhatsApp gained traction due to its ease of login and absence of adverts. It is also affordable and does not have privacy issues and for that I place it on first position in the category of instant messaging apps. There are several great alternatives to WhatsApp which are Viber, Signal, Messenger, Telegram, Line and Wechat. 

In the second category, live streaming apps, my favourite is Bigo Live which uses video streaming as its mainstay. The younger generation is moving away from texting to live streaming. According to research , Facebook users are aged on average between 24 to 35. Tik Tok is also the in thing these days but it currently does not have …