Hello World: Programming The Future
The demise of Apple founder Steve Jobs has dominated the news. But around the same time, two lesser known geniuses also died - Dennis Ritchie, the inventor of the "C" programming language and the UNIX operating system used on most computers including the Apple iPhone, and John McCarthy, known as the father of "Artificial Intelligence" (also used in iPhones) and inventor of the "Lisp" programming language.
Let's take this opportunity to learn about computer programming languages.
Computer Programming Languages


We all know how powerful computers are, and how fast they perform repeated tasks tirelessly. But in reality, a computer is actually quite dumb - a real human has to tell the computer precisely what to do using a programming language.
Unlike the English language, a programmer who tells a computer what to do has to be very precise and detailed - there cannot be any room for misinterpretation. That is why a computer program can sometimes look very complicated and difficult to understand. But of course, once the computer understands what to do (say, if you ask it to add 10,000 numbers), it can do it in less than 1/100th of a second, whereas you may get tired after adding up just 10 of those numbers!
A "Hello World" Program
Let's take an example, written in Dennis Ritchie's "C" programming language - a program to print the sum of numbers from 1 to 10,000. Note that there are English comments to make it easy for other humans to understand. The computer doesn't understand English, but eagerly gobbles up the rest.
main()
{
// Comment : "sum" is a "variable"
int sum = 0;
// Comment : Loop through numbers from 1 to 10,000;
// Comment : Add one number each time
for (int number = 1; number <= 10000; number = number + 1) {
sum = sum + number;
}
// Comment : Print out the sum
printf ("Hello World, the sum is: %d\n", sum);
}Easy? Programming a game like Angry Birds probably required more than 100,000 lines like these!
Why do we need many languages?
Just as there are thousands of human languages, there are tens of computer languages for many specialized purposes. Some languages used today are: C++, Objective C, Java, Python, Ruby, Javascript, and Visual Basic. Just like human languages disappear, some older ones like C, Lisp or Fortran are not used as much today, but they played important roles in the history of computing.
PHP, Python and Ruby are often used for creating web sites. Javascript is used to make those cool animation effects you often see on web sites (For example, Youngzine uses PHP and Javascript). Java and C++ are used for serious computer programs that, for example, predict the weather, or help fight wars.
A cool first language for you to learn would be Javascript, Python or PHP. In High school, you can learn Ruby, Java or C++.







I didnt know we looked like that.
That picture is so true.
Steve Jobs is my hero! To bad he passed away.
I am like a tech wizard. Yes I'm a girl! Just like a lot of you I feel tiny!
i mean html
everyone is forgetting http
I rock at computers but this makes me feel tiny...
I also think Steve Jobs is awesome
The programming languages are very confusing. All those complicated names just cluter up my mind, but soon it probably will make sense.
very confusing
So this is people's jobs...
I do not understand the c language
While I'm good at using computers, I know nothing about how a computer works, so that is like reading Latin (I didn't use Greek, because I know it).
It seems complicated
that picture is nasty but cool because it comes from a monkey to a guy with a tool to on the computer
Poor Steve Jobs... he died from cancer a couple weeks ago.
The Lego Mindstorm robot can be programmed using a picture-based or graphical programming language. It is fun to program and watch the robot.
Why do there have to be so many Computer Programing Languages? Why can't there be one standard one, since all of them quite similar?
Good question. Each programming language was created to meet certain needs that others didnt meet. Ex: Java, because C++ had too many "memory leaks" and "pointers"; Python because Perl was not simple and elegant; PHP because at the time (late 1990s), there was no other simple way to create web pages.
There's languages like "R" and "Matlab" that is only suitable for mathematical analysis, but for that purpose, they are the best languages to use.
C looks a lot like Java.
A lot of languages look like each other. I know a little bit of Python, and that is also similar to C.