Wednesday, September 7, 2011

The programming blues

Many students including myself sometimes find programming to be an absolute nightmare but we all need to persevere and learn it to be the best that we can be in our fields (if we are in the field of software development).

The hardest thing that I have found is that students sometimes find it difficult to understand the way a computer thinks. As humans, we assume alot of things as they "make sense".

If i had to ask you what is 1 + 1, you don't even need to think about it to say the answer is 2.

Now, the computer, although can calculate and display the answer faster than us, they ACTUALLY calculate this answer everytime it's needed as they don't have the skills that we have.

Example:
If i asked you what 12*24 is, you would need to pull out your calculator to get the answer.
the answer is 288 by the way :)

Chances are that the computer beat you to the answer (you did use a calculator which is a form of processing unit, which is a type of computer)

You now remember this answer, if i asked you again, you dont even need to pull out the calculator because you remember it. The computer does not have this skill to remember, if you asked the computer again, it will recalculate this formula.

No comments:

Post a Comment